2

我已经成功创建了一个名为“脚手架”的 git 分支git-p4.py clone

我现在想将最新的 Perforce 更改同步到 git 分支中,所以我正在尝试git-p4.py sync --branch=scaffold,但所发生的只是以下输出:

Syncing with origin first, using "git fetch origin"
Creating/updating branch(es) in refs/remotes/p4/ based on origin branch(es)
Performing incremental import into scaffold git branch
Depot paths: //depot/depot/path/to/code/
No changes to import!

之后,git statusnothing to commit (working directory clean)

我怎样才能让它工作?

4

1 回答 1

0

以下内容在我的桌面上对我有用,但fast-import failed在 Jenkins 上失败了:

git checkout scaffold
git p4 sync --branch=scaffold //depot/path/to/code/...@all
git push ssh://git@example.com:7999/repository/project.git +remotes/p4/scaffold:scaffold
于 2013-11-12T18:21:09.277 回答