【问题标题】:How to make gitflow allow multiple hotfix creation?如何使 gitflow 允许创建多个修补程序?
【发布时间】:2019-06-07 15:04:57
【问题描述】:

我正在努力设置 gitflow 以允许创建多个修补程序... 我已经运行了命令:

git config --add gitflow.multi-hotfix true
git config --global gitflow.multi-hotfix true

当我跑步时:

git config --list
git config --global --list

我可以看到它设置正确

gitflow.multi-hotfix=true

但是...每次我尝试创建新的修补程序时,它都会要求我先完成当前的修补程序...

我的 mac book pro 正在运行 Mojave 10.14.1 (18B75)

另一个可能有帮助的细节,我注意到每次我运行添加命令时,配置中的另一行都会添加完全相同的信息 gitflow.multi-hotfix=true。因此,我尝试清除所有设置并从头开始并运行以下命令:

git config --unset gitflow.multi-hotfix
git config --unset-all gitflow.multi-hotfix

但是无论我尝试运行这些命令多少次,允许多个修补程序的行仍然存在,但我实际上无法创建多个修补程序分支..

【问题讨论】:

  • 有人私下给我发了解决方案,它奏效了! brew install git-flow-avh --HEADgit config gitflow.multi-hotfix truegit config --get gitflow.multi-hotfix (verify that it returns true)

标签: macos git-flow hotfix


【解决方案1】:

有人私下向我发送了解决方案,并且成功了!

brew install git-flow-avh --HEAD 

git config gitflow.multi-hotfix true git config --get gitflow.multi-hotfix

验证最后一次调用是否返回 true

【讨论】:

    猜你喜欢
    • 2015-06-09
    • 2018-03-08
    • 2020-01-07
    • 2022-06-22
    • 2023-02-11
    • 2019-08-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多