当我尝试创建新功能时,我按 Git-flow -> Start New Feature,如果我选择这样的分支名称:model/user结束完整的分支名称应该是 feature/model/user 但是我得到一个错误:
The name is invalid. Ref names must follow git ref-format rules:
https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html
Additionally Sourcetree does not support the use of '/' in Git-flow branch names
Completed with errors, see above.
SourceTree 版本:3.1.3
Git-flow 版本:1.11.0(AVH 版)
在此更新之前,分支名称可以包含“/”并显示为树状结构。
如果我使用 git flow commands它有效,新分支出现在 SourceTree 中。
这是错误还是正常行为?
最佳答案
我相信,更新到最新的 Git flow 版本应该可以解决您的问题。我最近在使用旧版本时遇到了类似的问题 - 更新 Git 流程使问题消失了。
关于git - 为什么 Sourcetree 不支持在 Git-flow 分支名称中使用 '/'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57182832/