git commit --fixup abc1234

Category: Git - Advanced

git commit --fixup abc1234

Create a fixup commit targeting a specific commit

Creates a special 'fixup!' commit that's marked to be squashed into the target commit during an interactive rebase.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.