title | shortTitle | allowTitleToDifferFromFilename | intro | versions | topics | autogenerated | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REST API endpoints for Git commits |
Commits |
true |
Use the REST API to interact with commit objects in your Git database on {% data variables.product.github %}. |
|
|
rest |
A Git commit is a snapshot of the hierarchy (Git tree) and the contents of the files (Git blob) in a Git repository. These endpoints allow you to read and write commit objects to your Git database on {% data variables.product.github %}.