【发布时间】:2019-05-25 14:23:55
【问题描述】:
我正在使用 git p4 执行从 perforce 到 git 的迁移。我需要将我的 git 存储库与 perforce 服务器保持同步。我只需要知道在 git p4 clone 之后 git-p4 将有关 perforce depot 的信息存储在哪里,然后用于 git p4 sync。
【问题讨论】:
我正在使用 git p4 执行从 perforce 到 git 的迁移。我需要将我的 git 存储库与 perforce 服务器保持同步。我只需要知道在 git p4 clone 之后 git-p4 将有关 perforce depot 的信息存储在哪里,然后用于 git p4 sync。
【问题讨论】:
对于基本设置,git p4 使用P4 tool chain 的标准client configuration。如果需要,您可以使用 P4 Git configuration options 覆盖它。
当使用git p4 sync 时,git 依赖于 P4 depo 语法 + 客户端配置来确定从哪里提取更改。
如果您想知道从 P4 CL 创建的实际修订在哪里,它们都被放入 refs/remotes/p4/master
【讨论】: