How to safely undo a git push --force
·2 mins
Recover the commits you overwrote with
git push --force using the reflog - and how to never need to again.git push --force using the reflog - and how to never need to again.git commit --no-verify - and when not to.