This version of GitHub Enterprise Server will be discontinued on 2026-03-17. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
Managing commits
You can use GitHub Desktop to amend, cherry-pick, reorder, revert, reset, and squash commits.
- Options for managing commits in GitHub Desktop
- Undoing a commit in GitHub Desktop
- Resetting to a commit in GitHub Desktop
- Amending a commit in GitHub Desktop
- Reverting a commit in GitHub Desktop
- Cherry-picking a commit in GitHub Desktop
- Reordering commits in GitHub Desktop
- Squashing commits in GitHub Desktop
- Managing tags in GitHub Desktop
- Checking out a commit in GitHub Desktop