oeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agogit commit -m "minor fixes" +26858 -69429feddit.deimagemessage-square71fedilinkarrow-up1436arrow-down110
arrow-up1426arrow-down1imagegit commit -m "minor fixes" +26858 -69429feddit.deoeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agomessage-square71fedilink
minus-squarecatlover@sh.itjust.workslinkfedilinkarrow-up22·edit-210 months 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·10 months agoIt’s all fun and games until a git push slides in between…
minus-squareEmergMemeHologram@startrek.websitelinkfedilinkarrow-up4·10 months 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.