如何使gitflow允许创建多个修补程序?

Lir*_*ron 5 macos hotfix git-flow

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

git config --add gitflow.multi-hotfix true
git config --global gitflow.multi-hotfix true
Run Code Online (Sandbox Code Playgroud)

当我跑步时:

git config --list
git config --global --list
Run Code Online (Sandbox Code Playgroud)

我可以看到它设置正确

gitflow.multi-hotfix=true
Run Code Online (Sandbox Code Playgroud)

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

我的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
Run Code Online (Sandbox Code Playgroud)

但是,无论我尝试运行这些命令多少次,都保留了允许多个修复程序的行,但是实际上我无法创建多个修复程序分支。

Lir*_*ron 0

有人私下给我发了解决方案,效果很好!

brew install git-flow-avh --HEAD 

git config gitflow.multi-hotfix true git config --get gitflow.multi-hotfix
Run Code Online (Sandbox Code Playgroud)

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