简体   繁体   English

将使用 Gitflow 的开发分支重命名为 dev

[英]Rename the develop branch with Gitflow into dev

We are used to have a development branch called dev, in Gitflow toolset it is called develop.我们曾经有一个叫做 dev 的开发分支,在 Gitflow 工具集中它叫做 develop。

https://github.com/petervanderdoes/gitflow-avh https://github.com/petervanderdoes/gitflow-avh

Is there a way to tell Gitflow that we want to use a branch called dev ?有没有办法告诉 Gitflow 我们想要使用一个名为dev的分支?

Thanks谢谢

  1. Rename the branch in Git在 Git 中重命名分支

    git branch -m develop dev
  2. Update gitflow config更新 gitflow 配置

    git config gitflow.branch.develop dev

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM