GitCommitRef interface

提供描述 Git 提交和关联元数据的属性。

属性

author

提交的作者。

changeCounts

提交中包含的更改类型(编辑、删除等)的计数。

changes

提交中包含的更改的枚举。

comment

提交的注释或消息。

commentTruncated

指示注释是否从完整的 Git 提交注释消息中截断。

commitId

提交的 ID (SHA-1)。

committer

提交的提交者。

commitTooManyChanges

指示提交包含太多更改而无法显示

parents

此提交的父提交 ID 的枚举。

push

与此提交关联的推送。

remoteUrl

提交的远程 URL 路径。

statuses

来自服务和扩展的状态元数据列表,这些元数据可能将其他信息与提交相关联。

url

此资源的 REST URL。

workItems

与此提交关联的工作项列表。

属性详细信息

author

提交的作者。

author: GitUserDate

属性值

changeCounts

提交中包含的更改类型(编辑、删除等)的计数。

changeCounts: ChangeCountDictionary

属性值

changes

提交中包含的更改的枚举。

changes: GitChange[]

属性值

comment

提交的注释或消息。

comment: string

属性值

string

commentTruncated

指示注释是否从完整的 Git 提交注释消息中截断。

commentTruncated: boolean

属性值

boolean

commitId

提交的 ID (SHA-1)。

commitId: string

属性值

string

committer

提交的提交者。

committer: GitUserDate

属性值

commitTooManyChanges

指示提交包含太多更改而无法显示

commitTooManyChanges: boolean

属性值

boolean

parents

此提交的父提交 ID 的枚举。

parents: string[]

属性值

string[]

push

与此提交关联的推送。

push: GitPushRef

属性值

remoteUrl

提交的远程 URL 路径。

remoteUrl: string

属性值

string

statuses

来自服务和扩展的状态元数据列表,这些元数据可能将其他信息与提交相关联。

statuses: GitStatus[]

属性值

url

此资源的 REST URL。

url: string

属性值

string

workItems

与此提交关联的工作项列表。

workItems: ResourceRef[]

属性值