3 ms·
--amend if you have a modification to your most recent commit. --fixup if you have a modification to an earlier commits rebase --autosquash amend the fixup(s)
by usr1106 4y ago
--amend if you have a modification to your most recent commit.
--fixup if you have a modification to an earlier commits
rebase --autosquash amend the fixup(s) to the commit(s) they belong too.
(Of course you need to know what you doing. Otherwise you create conficts tedious to resolve in the rebase)