oeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agogit commit -m "minor fixes" +26858 -69429feddit.deimagemessage-square72fedilinkarrow-up1433
arrow-up1433imagegit commit -m "minor fixes" +26858 -69429feddit.deoeLLph [ɛlf]@feddit.de to Programmer Humor@programming.dev · 10 months agomessage-square72fedilink
minus-squarecatlover@sh.itjust.workslinkfedilinkarrow-up21·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-up3·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.