oeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 1 year agogit commit -m "minor fixes" +26858 -69429feddit.deimagemessage-square73fedilinkarrow-up1443arrow-down110
arrow-up1433arrow-down1imagegit commit -m "minor fixes" +26858 -69429feddit.deoeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square73fedilink
minus-squarecatlover@sh.itjust.workslinkfedilinkarrow-up23·edit-21 year agogit commit -m ‘initial commit’ git commit --amend git commit --amend git commit --amend git commit --amend … git commit --amend
minus-squareSage1918@lemmy.worldlinkfedilinkarrow-up3·1 year agoIt’s all fun and games until a git push slides in between…
minus-squareEmergMemeHologram@startrek.websitelinkfedilinkarrow-up4·1 year agoAlways use --force, far fewer errors that way. I also use git reset instead of merge. It keeps history more linear.
git commit -m ‘initial commit’
git commit --amend
git commit --amend
git commit --amend
git commit --amend
…
git commit --amend
It’s all fun and games until a git push slides in between…
Always use --force, far fewer errors that way.
I also use git reset instead of merge. It keeps history more linear.