This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
Commit changes
Create, modify, compare, and troubleshoot branches and commits to streamline collaboration in your pull requests.
Managing branches within your repository
Create new branches for development and delete unused branches directly on GitHub.
Committing changes to a pull request branch created from a fork
Commit changes to a pull request branch created from a fork by obtaining the necessary permissions and using Git commands effectively.
Creating a commit with multiple authors or on behalf of an organization
Attribute commits to multiple authors or organizations using trailers in commit messages for better collaboration and transparency.
Changing a commit message
Amend unclear, incorrect, or sensitive commit messages locally and push updated commits to GitHub, including steps for editing recent or older commits.
Comparing commits
Compare branches, tags, commits, forks, and dates to analyze changes and track repository history effectively.
Troubleshooting commits
Resolve common commit issues like incorrect user links, missing local commits, and push protection blocks.