Git
Git force with lease
Use --force-with-lease
instead of --force
to prevent overwriting commits that were added to a shared remote branch.
Can be useful after rebasing, because rebase
changes the commit history.
Use --force-with-lease
instead of --force
to prevent overwriting commits that were added to a shared remote branch.
Can be useful after rebasing, because rebase
changes the commit history.