Git p4分支

时间:2014-03-13 12:37:05

标签: git perforce git-p4

我的项目基于 //Engineering/qwerty/baseline/servers/ApplicationServer/ 和分支
//Engineering/qwerty/branches/rtf/

如何使用
执行一个git repo master => //Engineering/qwerty/baseline/servers/ApplicationServer/ 和分支rtf => //Engineering/qwerty/branches/rtf/

1 个答案:

答案 0 :(得分:0)

也许:

git clone //Engineering/qwerty/baseline/servers/ApplicationServer
cd ApplicationServer
git sync --branch refs/remotes/p4/rtf //Engineering/qwerty/branches/rtf

但我还没试过。

来自http://git-scm.com/docs/git-p4