canpolat@programming.devM to Git@programming.devEnglish · 9 months agoWhat was your “aha” moment when you finally understood Git?message-squaremessage-square27fedilinkarrow-up133arrow-down13file-text
arrow-up130arrow-down1message-squareWhat was your “aha” moment when you finally understood Git?canpolat@programming.devM to Git@programming.devEnglish · 9 months agomessage-square27fedilinkfile-text
minus-squareTechNom (nobody)@programming.devlinkfedilinkEnglisharrow-up2·8 months ago Another aha moment was learning that an easy way to squash commits is just to do a git reset followed by git commit -am “whatever” You can do that in a single step instead with git commit -a --amend.
You can do that in a single step instead with
git commit -a --amend
.