Windows上的Git-无法从UNC路径克隆
我以为我可以从UNC路径克隆,唉,不Windows上的Git-无法从UNC路径克隆,git,Git,我以为我可以从UNC路径克隆,唉,不 D:\Git>git clone \\M0218\Git\SomeProject Cloning into 'SomeProject'... fatal: '\M0218\Git\SomeProject' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct a
D:\Git>git clone \\M0218\Git\SomeProject
Cloning into 'SomeProject'...
fatal: '\M0218\Git\SomeProject' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我做错了什么?您需要使用前斜杠
/
git clone //M0218/Git/SomeProject
就是这样。或者使用
\\\M0218\…
Ugh;我认为结束投票需要5票。这当然感觉像是其他几个问题的重复,但我认为这是一个引人注目的问题,因为它是最直接的问题和答案。如果你认为这是错误关闭的,请大声叫喊(或投票重新打开)。