Prepare a fixup for autosquash rebase.
Section: Snapshotting and Commits
Create fixup commit
bash
bash
git commit --fixup=<commit_sha>Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Snapshotting and Commits
Commit tracked changes
Commit tracked file modifications without separate add.
Amend last commit without editing message
Add staged changes into the previous commit.