Skip to main content
Wir veröffentlichen regelmäßig Aktualisierungen unserer Dokumentation, und die Übersetzung dieser Seite ist möglicherweise noch nicht abgeschlossen. Aktuelle Informationen findest du in der englischsprachigen Dokumentation.

Reverting a commit in GitHub Desktop

You can use GitHub Desktop to revert a specific commit to remove its changes from your branch.

When you revert to a previous commit, the revert is also a commit. The original commit also remains in the repository's history.

Tip: When you revert multiple commits, it's best to revert in order from newest to oldest. If you revert commits in a different order, you may see merge conflicts.

  1. Klicke auf der linken Randleiste auf Verlauf.

    Screenshot der Registerkarte „Verlauf“ in der Randleiste. Über einer Liste von Commits ist die Registerkartenschaltfläche „Verlauf“ orange umrandet.

  2. Klicke mit der rechten Maustaste auf den Commit, den du zurücksetzen möchtest, und klicke auf Änderungen in Commit zurücksetzen. Screenshot of a list of commits in the "History" tab. Next to a commit, in a context menu, the cursor hovers over the "Revert Changes in Commit" option.