1

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

我怎样才能用
master => //Engineering/qwerty/baseline/servers/ApplicationServer/ 和分支做一个 git repo rtf => //Engineering/qwerty/branches/rtf/

4

1 回答 1

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

于 2014-03-13T15:00:35.790 回答