3 ms·
--force-with-lease is usually safer
by mlthoughts2018 7y ago
--force-with-lease is usually safer
- screaminghawk 7y agoAlways safer, and should be the default IMO
- twic 7y agoSituations where you might need to rebase against incoming changes are precisely the situations where --force-with-lease is a no-op.
- mlthoughts2018 7y agoYou are incorrect. This is only the case when the remote copy of the branch you intend to over-write with the force push has already been modified and became out of sync from your local copy of that branch prior to the rebase.