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