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 Change in the context menu.

See also How To: Use Git and Git.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.