你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkspaceRepositoryConfiguration interface

Git 集成设置

属性

accountName

帐户名

collaborationBranch

协作分支

hostName

GitHub Enterprise 主机名。 例如:https://github.mydomain.com

lastCommitId

上次提交 ID

projectName

VSTS 项目名称

repositoryName

存储库名称

rootFolder

要用于存储库的根文件夹

tenantId

VSTS 租户 ID

type

工作区 repositoryID 配置的类型。 示例 WorkspaceVSTSConfiguration、WorkspaceGitHubConfiguration

属性详细信息

accountName

帐户名

accountName?: string

属性值

string

collaborationBranch

协作分支

collaborationBranch?: string

属性值

string

hostName

GitHub Enterprise 主机名。 例如:https://github.mydomain.com

hostName?: string

属性值

string

lastCommitId

上次提交 ID

lastCommitId?: string

属性值

string

projectName

VSTS 项目名称

projectName?: string

属性值

string

repositoryName

存储库名称

repositoryName?: string

属性值

string

rootFolder

要用于存储库的根文件夹

rootFolder?: string

属性值

string

tenantId

VSTS 租户 ID

tenantId?: string

属性值

string

type

工作区 repositoryID 配置的类型。 示例 WorkspaceVSTSConfiguration、WorkspaceGitHubConfiguration

type?: string

属性值

string