GIT克隆:无法在git clone

时间:2017-10-24 15:28:12

标签: git

在powershell上使用Git for Windows 试图克隆存储库。裸露的部分并不重要。没有“裸”选项时会出现相同的错误。 G是公司网络中的网络驱动器。 Repo是一个Visual Studio asp mvc应用程序。

PS G:\Folder1> git clone --bare -l 'C:\repoFolder\.git'
Cloning into bare repository 'repoFolder.git'...
fatal: failed to create link 'repoFolder.git/objects/00/6a003f1b9b6baf9c4870d54cfa1f85653e5d16': Improper link
fatal: The remote end hung up unexpectedly

1 个答案:

答案 0 :(得分:0)

如果可能,

-l将创建硬链接,但这似乎不适合在网络驱动器上使用。您可以使用--no-hardlinks创建目标文件的完整副本。

相关问题