在Windows本地使用git checkout指定的remote branch时,出现了这种错误:

git checkout 时出现 error: invalid path 'user/<'

解决办法:关闭git对于NTFS文件系统的保护,随后再次git checkout即可。分析是因为原代码是Linux环境下编写的,导致文件系统出的锅。

git config core.protectNTFS false

相关文章:

  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2021-05-05
  • 2021-11-15
  • 2021-06-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2021-10-31
  • 2021-11-12
  • 2021-09-09
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案