问题描述
在我的 Azure DevOps 上,我看不到分支。如何启用分支?
解决方法
如果您使用 TFVC,则在菜单中看不到分支,您将在“文件”下看到它们:
仅当您使用 Git 时,您才会在菜单中看到分支:
,
如果您在创建新项目时选择 TFVC(Team Foundation Version control) 作为版本控制,则默认 repo 将没有 Branches 页面。
所以,当你在这个项目中创建新项目或创建一个新的repo时,你可以选择git作为版本控制。一个项目只能有一个 TFVC 仓库,但可以有多个 git 仓库。
您可以参考文档并详细了解 Azure DevOps 中的 Git 和 TFVC。