git checkout Remote branch Error
文章目录
问题描述
拉取远程分支(git clone xxxx
),通过checkout
检出远程分支,报错
|
|
问题分析
NTFS 文件系统的保护机制
如果仓库对应分支中存在系统不能正常识别的文件名称,则会触发。
If 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.
解决办法
设置 core.protectNTFS
为 false
|
|
文章作者 Chris-dc
上次更新 2021-09-14