bitbucket 分支显示类似 "MAIN" "DEVELOPMENT"的标签。这些标签是自动生成的

标签 bitbucket bitbucket-pipelines

enter image description here

enter image description here

bitbucket 显示标签,如我在上图中划线的那样。

  1. 如何将此类标签添加到分支。
  2. 我正在尝试添加 deployment variables到“开发”和“生产”环境。

最佳答案

这些反射(reflect)了 branching model 选择

您可以在存储库的设置中更改它们:

https://community.atlassian.com/t5/image/serverpage/image-id/42115i11C96514EE25781C/image-size/large?v=v2&px=999

I was able to change this setting from the General > Repository Details sidebar menu tab.

In the main content area, there is an Advanced section that is closed by default.
Open it and there are other settings, including one for "Main branch"

关于bitbucket 分支显示类似 "MAIN" "DEVELOPMENT"的标签。这些标签是自动生成的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72664817/

相关文章:

java - 使用@WebMvcTest 的 Spring Boot 测试在 Atlassian Bitbucket 管道上失败

docker - 使用docker容器在Atlassian Bitbucket管道中进行测试

docker - 如何为图像位桶管道配置环境

node.js - 为什么 'apt-get install nodejs -y'不安装npm?

jira - 如何解决未经审查的代码警告

Mercurial 存储库与 bitbucket 子存储库 - 如何防止推送

mercurial - 将本地文件夹连接到 Mercurial 存储库

git - 从提交和标记生成变更日志

symfony - 在管道中编辑 env 文件

Git错误: --all can't be combined with refspecs