I have created a fixup commit with code that I now realized should be a regular commit. I don't want to have any surprises on the next rebase - how can I make this fixup commit a regular commit, dis-associating it from the commit ID I tried to "fix"?
A fixup commit (that is, one you create with git commit --fixup) or a squash commit (one you create with git commit --squash) are really just regular commits. So if you'd like to turn one of them into a regular commit, just edit its commit message.
git commit --amend,git rebase -i (without the --autosquash option) to edit the commit message and place it where you'd like it.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With