Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
url00
· 11mo ago · 0 comments
Wow you aren't wrong, the first blog post on Google talking about this is exactly what this complicated method does just built-in.
Comments
[–]
imron
11mo ago
To be fair --update-refs was only added in git 2.38 (released in 2022) so it’s likely that OPs workflow came about before this flag was introduced.