Git项目克隆时路径无效错误是什么原因?

时间:2019-12-20 12:54:10

标签: windows git clone

我注意到特定文件夹的git clone(无效路径)中存在错误。如果有人注意到相同的错误,这里就是解决方法。

解决方案1 ​​

  1. 只需执行以下命令:git config core.protectNTFS false
  2. 并使用git clone

解决方案2

  1. 添加远程添加:git remote add origin <repoURL>
  2. 检查远程仓库:git remote -v
  3. 执行以下命令:git config core.protectNTFS false

0 个答案:

没有答案
相关问题