git clone如果出现file name too long导致clone失败的解决方法

xiaozhch5 其他

这是由于文件名过长,window限制260长度导致

解决方法:

在git bash中,运行下列命令:

git config --global core.longpaths true

范围:

–global 当前用户级

–local 项目级

–system 系统级

Comments

Add comment
  • Comment list is empty