【发布时间】:2019-01-18 04:56:35
【问题描述】:
我目前在 git 中维护了一个项目。 同一项目的另一个团队正在使用 perforce。 而且他们不可能使用 git。
我正在尝试使用 git p4 使用以下链接中的指南更新两个存储库。
https://git-scm.com/docs/git-p4
https://developer.atlassian.com/blog/2015/01/work-with-git-and-perforce/
https://owenou.com/git-up-perforce-with-git-p4
但是,我被 Perforce 的 Swarm Review 卡住了。
/home/user/projectgit << folder for git project where I work on
/home/user/projectp4 << workspace folder for git p4
在提交到 Perforce 之前,我必须先搁置我可以通过 git p4 submit --shelved 进行的更新
现在我的 cl 获得批准后,我该如何提交?
没有git p4 submit <cl>
我尝试了git p4 unshelved <cl>,但我现在如何处理refs/remote/p4/unsheved/<cl> 中未搁置的提交?
我也尝试过使用p4 submit <cl>(在 git p4 的工作区中),但它抱怨没有要提交的文件。
提前感谢您的帮助。
【问题讨论】:
标签: git version-control perforce git-p4