Closed JasonEleventeen closed 11 months ago
Force push should never be default, allow optional force push if lease fails
git push --force-with-lease
This will prevent accidental overwrite of history on the origin
Hey!
I remember @DPini recommended me to do it but JGit had some weird issues, it was quite some time ago so it may be different with the newer versions.
I'll try it again, thanks for the reminder!
Force push should never be default, allow optional force push if lease fails
git push --force-with-lease
This will prevent accidental overwrite of history on the origin