$ ./guess_the_languageGit
Git · hard · #24

How does the fixup commit appear in the todo list?

$ git commit --fixup=6d5fdd8
$ git rebase -i --autosquash HEAD~3
  1. At the top, marked as squash
  2. It is left out of the list
  3. At the very end, still marked as pick
  4. Right after 6d5fdd8, marked fixup
--fixup writes a fixup! <subject> message, and --autosquash moves such commits after their target with the fixup action.
Play Git ▸