GitCommitRef interface
提供描述 Git 提交和关联元数据的属性。
属性
| author | 提交的作者。 |
| change |
提交中包含的更改类型(编辑、删除等)的计数。 |
| changes | 提交中包含的更改的枚举。 |
| comment | 提交的注释或消息。 |
| comment |
指示注释是否从完整的 Git 提交注释消息中截断。 |
| commit |
提交的 ID (SHA-1)。 |
| committer | 提交的提交者。 |
| commit |
指示提交包含太多更改而无法显示 |
| parents | 此提交的父提交 ID 的枚举。 |
| push | 与此提交关联的推送。 |
| remote |
提交的远程 URL 路径。 |
| statuses | 来自服务和扩展的状态元数据列表,这些元数据可能将其他信息与提交相关联。 |
| url | 此资源的 REST URL。 |
| work |
与此提交关联的工作项列表。 |
属性详细信息
author
changeCounts
changes
comment
提交的注释或消息。
comment: string
属性值
string
commentTruncated
指示注释是否从完整的 Git 提交注释消息中截断。
commentTruncated: boolean
属性值
boolean
commitId
提交的 ID (SHA-1)。
commitId: string
属性值
string
committer
commitTooManyChanges
指示提交包含太多更改而无法显示
commitTooManyChanges: boolean
属性值
boolean
parents
此提交的父提交 ID 的枚举。
parents: string[]
属性值
string[]
push
remoteUrl
提交的远程 URL 路径。
remoteUrl: string
属性值
string
statuses
url
此资源的 REST URL。
url: string
属性值
string