canpolat@programming.devM to Git@programming.devEnglish · 8 months agoWhat was your “aha” moment when you finally understood Git?message-squaremessage-square26fedilinkarrow-up133arrow-down13file-text
arrow-up130arrow-down1message-squareWhat was your “aha” moment when you finally understood Git?canpolat@programming.devM to Git@programming.devEnglish · 8 months agomessage-square26fedilinkfile-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
.