Command

git commit --fixup

Mark a staged correction for later autosquash; does not immediately rewrite history.

Formal Syntax & Structure

git syntaxgit
git commit --fixup=REV
Git Reference