简体   繁体   English

Git P4分支

[英]Git p4 branches

I have a project based in 我有一个基于
//Engineering/qwerty/baseline/servers/ApplicationServer/ and branch //Engineering/qwerty/baseline/servers/ApplicationServer/和分支
//Engineering/qwerty/branches/rtf/

How can I do one git repo with 我该如何做一个git repo
master => //Engineering/qwerty/baseline/servers/ApplicationServer/ and branch rtf => //Engineering/qwerty/branches/rtf/ ? master => //Engineering/qwerty/baseline/servers/ApplicationServer/和分支rtf => //Engineering/qwerty/branches/rtf/吗?

Maybe: 也许:

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

But I haven't tried it. 但是我还没有尝试过。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM