GitBranchStats interface

特定引用的 Ahead 和 Behind 计数。

属性

aheadCount

前面的提交次数。

behindCount

落后的提交数。

commit

当前提交。

isBaseVersion

如果这是基本版本的结果,则为 True。

name

引用的名称。

属性详细信息

aheadCount

前面的提交次数。

aheadCount: number

属性值

number

behindCount

落后的提交数。

behindCount: number

属性值

number

commit

当前提交。

commit: GitCommitRef

属性值

isBaseVersion

如果这是基本版本的结果,则为 True。

isBaseVersion: boolean

属性值

boolean

name

引用的名称。

name: string

属性值

string