Git-error: invalid path

  • git checkout isp
  • 原因是Win和Linux文件格式不一致,要么切换到Linux环境下操作,要么git config core.protectNTFS false
  • 查了下官方手册,官方原话: If set to true, do not allow checkout of paths that would cause problems with the NTFS filesystem
  • 大概意思是说NTFS有个路径保护机制,防止文件系统出错。
error: invalid path 'kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
error: invalid path 'kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::buildid.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::dwarf.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::fault.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::inode-uprobes.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::pass1.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::pass2.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::pass3.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::pass4.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::pass5.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::process-tracking.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::reporting.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/error::sdt.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/warning::debuginfo.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/cs/man7/warning::symbols.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::buildid.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::dwarf.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::fault.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::inode-uprobes.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::pass1.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::pass2.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::pass3.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::pass4.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::pass5.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::process-tracking.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::reporting.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/error::sdt.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/warning::debuginfo.7stap'
error: invalid path 'project/image/systemtap/3.2/share/man/man7/warning::symbols.7stap'
posted @ 2023-10-19 11:57  steve的miao  阅读(260)  评论(0编辑  收藏  举报