3 ms·
I also can't think of a situation where you'd want to force push to a branch that others might be committing to.
by bdhess 10y ago
I also can't think of a situation where you'd want to force push to a branch that others might be committing to.
- ThrustVectoring 10y agoIf they're not committing to it, --force-with-lease is the same thing as --force, so it doesn't cost you anything.
- bdhess 10y agoCosts ten keystrokes by my count. But it's not the keystrokes that trouble me, it's the idea that one of my co-collaborators might use this feature to "safely" rewrite history in a branch I'm also using. "Safely" being relative, since the rest of the collaborators will have to force pull that branch later, and rebase their pending changes. By my reckoning, rewriting history just isn't a reasonable decision in shared branches.