Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zimbu668
· 2y ago · 0 comments
You should do this instead:
git push —-force-with-lease repo branch
Comments
[–]
ajb
2y ago
This. --force-with-lease is what --force should have been in the first place. Hopefully they will eventually make it so, and rename --force to something less accessible.