来自远程Perforce存储库的git-p4克隆为我提供了空文件夹

时间:2019-06-07 03:48:27

标签: windows git clone perforce

我正在从Windows上的服务器克隆Perforce项目。我有一个有效的Perforce客户规范,名为myclient

我使用以下命令进行克隆:

git p4 clone --use-client-spec //myclient/path/to/folder@all

结果是一个空文件夹d:/local/path/to/folderlocal是我选择保存git-p4本地存储库的位置。

输出如下:

Reinitialized existing Git repository in d:/local/path/to/folder/.git/
Importing from //myclient/path/to/folder@all into folder
Import destination: refs/remotes/p4/master

Importing revision xxxxxx (0%)Ignoring revision xxxxxx as it would produce an empty commit.
Importing revision yyyyyy (31%)Ignoring revision yyyyyy as it would produce an empty commit.
....
....

Not checking out any branch, use "git checkout -q -b master <branch>"

上述客户端工作空间可与P4V和p4正常工作。 我在这里想念什么?

我提到了这篇没有帮助的帖子:git p4 clone has no files

更新

我遵循@SamStafford的建议并运行:

$ git p4 clone --use-client-spec //myclient/path/to/folder/...

这仍然给我空的文件夹:

Reinitialized existing Git repository in //myclient/path/to/folder/.git/
Importing from //myclient/path/to/folder/... into folder
Doing initial import of //myclient/path/to/folder/ from revision #head into refs/remotes/p4/master
Ignoring revision 474364 as it would produce an empty commit.
Not checking out any branch, use "git checkout -q -b master <branch>"

需要更多提示。

0 个答案:

没有答案