I have a project based in
//Engineering/qwerty/baseline/servers/ApplicationServer/
and branch
//Engineering/qwerty/branches/rtf/
How can I do one git repo with
master => //Engineering/qwerty/baseline/servers/ApplicationServer/
and branch 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.