git rebase Table of Contents git rebase git rebase reference --autosquash is only valid when the --interactive option is used. https://git-scm.com/docs/git-rebase#git-rebase