This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
git clone报错warningClone succeeded,but checkout failed
首先原因是:拉取项目中有文件名过大,导致拉取项目中断,文件拉取不完全的情况。
1、报错信息如下:
try/*****: Filename too long
2、解决方法,找到你要存放代码的文件夹,打开git命令执行窗口,执行以下代码:
git config --global core.longpaths true
3、最后再次正常git clone代码(注意把之前clone的代码删掉)