【发布时间】:2015-04-22 06:29:25
【问题描述】:
我正在尝试将整个 p4 树复制到 git 树中。
我的p4 client 下有两个分支
//dev/... //user/dev/...
//infra/lib/... //user/dev/memo/lib/...
现在我只做git p4 clone --use-client-spec --detect-branches //dev
dev 分支正在被复制,infra 分支没有被复制。
我什至尝试使用
git p4 clone --detect-branches //dev@all
Importing from //dev@all into dev
Initialized empty Git repository in /auto/mem-proj02/user/new_dir/dev/.git/
Importing revision 11477 (100%)
Not checking out any branch, use "git checkout -q -b master <branch>"
这也不会复制infra 分支。
所以任何人都可以帮助我sync/clonep4 中的所有分支到git。
我也试过How to clone branch with git-p4?
但我没能做到。
请帮帮我!!!
【问题讨论】: