3 ms·
The two are equivalent if you type them in full, but if you stop one before typing the feature branch name, you've broken everything. git push -f (enter) => De
by stefan_kendall3 13y ago
The two are equivalent if you type them in full, but if you stop one before typing the feature branch name, you've broken everything.
git push -f (enter) => Death to all branches.
git push feature -f => Can only ever force push the feature branch
No matter when you press enter in the second line, intentionally or accidentally, you can't break all branches.
- penguindev 13y agoAh, I see. Thanks for clarifying.