我使用git-p4.py clone
成功创建了一个名为'scaffold'的git分支。
我现在想要将最新的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 status
说nothing to commit (working directory clean)
。
如何让它发挥作用?
答案 0 :(得分:0)
以下内容适用于我的桌面,但在Jenkins上使用fast-import failed
失败:
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