Re:Fortunately, I don't squash my commits
by sixstringtheory on Tuesday October 06, 2020 @12:53AM
(#24694803)
Unfortunately the best way I’ve found is pulling up the log to copy either the commit hash for --fixup, or the message for fixup!/squash!
My one liner for viewing the git log is: git log --oneline --all --decorate [--graph]
I haven't tried, but I bet HEAD~n works for --fixup, or some quick rev-parse magic (which I don’t know much of).
Do you have a good way to deal with this?