oeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agogit commit -m "minor fixes" +26858 -69429feddit.deimagemessage-square74fedilinkarrow-up1441arrow-down110
arrow-up1431arrow-down1imagegit commit -m "minor fixes" +26858 -69429feddit.deoeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agomessage-square74fedilink
minus-squarecatlover@sh.itjust.workslinkfedilinkarrow-up23·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.