This version of GitHub Enterprise was discontinued on 2023-03-15. 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. For help with the upgrade, contact GitHub Enterprise support.
Use the REST API to interact with commits.
- List commits
- List branches for HEAD commit
- List pull requests associated with a commit
- Get a commit
- Compare two commits
- Commit comments
- List commit comments for a repository
- Get a commit comment
- Update a commit comment
- Delete a commit comment
- List commit comments
- Create a commit comment
- Commit statuses