Azure Devops Repo 分支

Azure Devops Repo branches

在我的 Azure DevOps 上我看不到分支。如何启用分支?

如果你使用TFVC你在菜单中看不到分支,你会在“文件”下看到它们:

只有当您使用 Git 时,您才会在菜单中看到分支:

如果您在创建新项目时选择TFVC(Team Foundation Version control) 作为版本控制,则默认的repo 将没有Branches 页面。

因此,您可以在创建新项目或在此项目中创建新的 repo 时选择 git 作为版本控制。一个项目只能有一个 TFVC 存储库,但可以有多个 git 存储库。

您可以参考文档并了解有关 Azure DevOps 中 Git and TFVC 的更多信息。