canpolatM to GitEnglish · 10 months agoWhat was your “aha” moment when you finally understood Git?message-squaremessage-square25fedilinkarrow-up133arrow-down13file-text
arrow-up130arrow-down1message-squareWhat was your “aha” moment when you finally understood Git?canpolatM to GitEnglish · 10 months agomessage-square25fedilinkfile-text
minus-squareTechNom (nobody)linkfedilinkEnglisharrow-up2·10 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
.