canpolatM to GitEnglish · 9 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 · 9 months agomessage-square25fedilinkfile-text
minus-squareTechNom (nobody)linkfedilinkEnglisharrow-up2·9 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
.