- Qt Creator Documentation
- Interactive rebase
- Qt Creator 20.0.0-beta1

Initialize Git repositories ◦ Review code with Gerrit

# 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 Using Git.

Initialize Git repositories ◦ Review code with Gerrit