Azure Devops 存储库分支

问题描述

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

enter image description here

解决方法

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

enter image description here

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

enter image description here

,

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

所以,当你在这个项目中创建新项目或创建一个新的repo时,你可以选择git作为版本控制。一个项目只能有一个 TFVC 仓库,但可以有多个 git 仓库。 enter image description here

您可以参考文档并详细了解 Azure DevOps 中的 GitTFVC

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...