- Qt Creator Documentation
- Interactive rebase
- Qt Creator 18.0.2

Create and apply patches ◦ git am

# Interactive rebase

To change a series of commits in the local repository, go to Tools > Git > Local Repository and select Interactive Rebase. You can reorder or discard commits, squash them into a single commit, or edit the commit messages.

## Rebase from the change log

If you already pushed the local changes to a remote repository, Qt Creator refuses the interactive rebase because the local commits are missing.

To start the interactive rebase from the change log, go to Tools > Git > Branches > Log. Select the change, and then select Interactive Rebase from <hash> in the context menu.

See also How To: Use Git and Git.