2014-03-13 65 views
1

我都基於項目
//Engineering/qwerty/baseline/servers/ApplicationServer/ 和分支
//Engineering/qwerty/branches/rtf/的Git分支P4

我如何做
master => //Engineering/qwerty/baseline/servers/ApplicationServer/ 和分支rtf => //Engineering/qwerty/branches/rtf/ 一個混帳回購協議?

回答

0

可能:

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

但我還沒有嘗試過。

From http://git-scm.com/docs/git-p4