lemmyreader to [email protected]English • edit-22 years agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square37fedilinkarrow-up1502arrow-down110file-text
arrow-up1492arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader to [email protected]English • edit-22 years agomessage-square37fedilinkfile-text
minus-square@[email protected]linkfedilink1•edit-22 years agoUnless you’re rebasing or something, you should never need --force. It’s a good way to accidentally delete or overwrite a remote branch. I usually use the +syntax for force-pushing a specific branch: git push origin +my_branch
Unless you’re rebasing or something, you should never need
--force. It’s a good way to accidentally delete or overwrite a remote branch.I usually use the +syntax for force-pushing a specific branch:
git push origin +my_branchI thought
-ais shorthand to amend my bad