git错误invalid path解决方法 分类 编程笔记 · 发表于 2022-09-17 15:50:22 在windows上git clone代码时报错:error: invalid path ‘xxxx’ 解决方法: 1git config core.protectNTFS false 参数说明: 12core.protectNTFSIf set to true, do not allow checkout of paths that would cause problems with the NTFS filesystem, e.g. conflict with 8.3 "short" names. Defaults to true on Windows, and false elsewhere.