强制执行 Git:克隆错误 "No changes have been made"
Perforce to Git: Clone error "No changes have been made"
我正在尝试将一个项目从 Perforce 迁移到 Git。我正在关注,在克隆步骤中,执行停止并显示一条消息:
No changes to import!
Not checking out any branch, use "git checkout -q -b master "
可能是什么问题?
C:\Test-Git>git p4 clone //depot/C:\build\mainline@all C:\Test-Git
Importing from //depot/C:/build/mainline@all into C:\Test-Git
Initialized empty Git repository in C:/Test-Git/.git/
No changes to import!
Not checking out any branch, use "git checkout -q -b master <branch>"
//depot/C:\build\mainline@all
不是有效的 Perforce depot 路径,因此在它下面没有要导入的更改是有道理的。尝试为您尝试导入的 Perforce 文件提供库路径。
如果您不确定,请尝试:
git p4 clone //depot/... C:\Test-Git
我正在尝试将一个项目从 Perforce 迁移到 Git。我正在关注,在克隆步骤中,执行停止并显示一条消息:
No changes to import!
Not checking out any branch, use "git checkout -q -b master "
可能是什么问题?
C:\Test-Git>git p4 clone //depot/C:\build\mainline@all C:\Test-Git
Importing from //depot/C:/build/mainline@all into C:\Test-Git
Initialized empty Git repository in C:/Test-Git/.git/
No changes to import!
Not checking out any branch, use "git checkout -q -b master <branch>"
//depot/C:\build\mainline@all
不是有效的 Perforce depot 路径,因此在它下面没有要导入的更改是有道理的。尝试为您尝试导入的 Perforce 文件提供库路径。
如果您不确定,请尝试:
git p4 clone //depot/... C:\Test-Git