代码之家  ›  专栏  ›  技术社区  ›  Kirsten

如何切换生成管道的默认分支

  •  0
  • Kirsten  · 技术社区  · 6 年前

    working on this question 我需要切换Azure存储库的默认分支。

    我该怎么做?

    我可以看到在哪里切换Compare标记,但看不到默认标记。

    branches

    1 回复  |  直到 6 年前
        1
  •  6
  •   Kirsten    6 年前

    在“获取源”属性中。

    here in the pipeline

        2
  •  1
  •   mytydev    5 年前

    下面是一篇关于如何做到这一点的文章: https://mattvsts.blogspot.com/2019/03/did-you-know-changing-default-and.html

    基本要点是转到项目中的存储库设置,然后找到分支并右键单击以设置为默认分支。

        3
  •  1
  •   Jordan J    5 年前

    Manage Repositories Image

    找出你的回购和你想违约的分行。右击它,你会得到“设为默认分支”选项