git-p4不会使用git p4 sync创建新的分支。
我们使用的是branchList配置项(而不是Perforce分支规范)。我已经在配置中添加了一个新的分支规范,但是git p4 sync --detect-branches没有添加新的分支。
这是应该使用git p4 sync --detect-branches //path/to depot/@all的情况吗?
如何让git p4同步来检测和添加新的分支?
发布于 2014-07-09 07:03:15
本文将介绍如何添加新的分支:
http://answers.perforce.com/articles/KB_Article/Git-Fusion-Branch-Mappings
这里的Git Fusion Guide也在“转换轻量级分支到完全填充的Perforce分支”下:
http://www.perforce.com/perforce/doc.current/manuals/git-fusion/chapter_dyn_ngj_3l.html#section_kkz_gqv_rl
参考文献
http://answers.perforce.com/articles/KB_Article/Mapping-Git-Terms-and-Commands-to-Perforce
https://stackoverflow.com/questions/24518184
复制相似问题