Skip to main content
我们经常发布文档更新,此页面的翻译可能仍在进行中。 有关最新信息,请访问
英语文档
。
GitHub 文档
Version:
Free, Pro, & Team
搜索 GitHub Docs
REST API
/
提交
All products
REST API
API Version:
2022-11-28 (latest)
快速入门
概述
Guides
REST API 参考
操作
活动
应用
计费
分支
检查
行为准则
代码扫描
Codespaces
协作者
提交
提交
提交注释
关于提交状态
Dependabot
依赖项关系图
部署密钥
部署
表情符号
Gists
Git 数据库
Gitignore
交互
问题
许可证
Markdown
元数据
指标
迁移
组织
包
页
Projects (classic)
拉取
速率限制
反应
发行版本
存储库
搜索
机密扫描
安全通知
Teams
用户
仓库 web 挂钩
REST API 现已经过版本控制。
有关详细信息,请参阅“
关于 API 版本控制
”。
REST API
/
提交
提交
使用 REST API 与提交交互。
Commits
List commits
List branches for HEAD commit
List pull requests associated with a commit
Get a commit
Compare two commits
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
Statuses
Get the combined status for a specific reference
List commit statuses for a reference
Create a commit status