TIL: sometimes you want to instead do:
`git commit -m 'fixup! hash'`
because `--fixup=hash` actually records the commit's shortlog instead, so when you have multiple commits with the same shortlog (like, "Added by file upload", thanks github…), it won't autosquash to the correct one.
0 Boosts
0 Likes
No replies yet
Be the first to share your thoughts.