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 Design Studio 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.
Available under certain Qt licenses.
Find out more.