Interaktives Rebase
Um eine Reihe von Commits im lokalen Repository zu ändern, rufen Sie „ Tools “ > „ Git “ > „ Local Repository “ auf und wählen Sie „ Interactive Rebase “ aus. Sie können Commits neu anordnen oder verwerfen, sie zu einem einzigen Commit zusammenfassen oder die Commit-Meldungen bearbeiten.
Rebase aus dem Änderungsprotokoll
Wenn Sie die lokalen Änderungen bereits in ein Remote-Repository gepusht haben, lehnt Qt Creator das interaktive Rebase ab, da die lokalen Commits fehlen.
Um das interaktive Rebase aus dem Änderungsprotokoll zu starten, gehen Sie zu „ Tools “ > „ Git “ > „ Branches “ > „ Log “. Wählen Sie die Änderung aus und wählen Sie dann im Kontextmenü „ Interactive Rebase from <hash> “ aus.
Siehe auch „Anleitung: Git verwenden “ und „Git nutzen“.
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.