I want to run a git rebase -i some-hash.
git rebase -i some-hash
When I run it, I get the error:
You asked to amend the most recent commit, but doing so
Seems like running:
git commit --allow-empty git rebase --continue
git commit --allow-empty
git rebase --continue
Creates 2 squashed commits, instead of one. Running git rebase -i some-hash allows me to squash the 2 new commits into one.