Skip to content


Create a fixup commit

Creates a fixup commit that can be autosquashed in the next rebase.

git commit --fixup <commit>

# Examples
git add .
git commit --fixup 3050fc0de
# Created a fixup commit for `3050fc0de`
git rebase HEAD~5 --autosquash
# Now the fixup commit has been squashed

More like this

Start typing a keyphrase to see matching snippets.