在git bash中,运行下列命令: git config --[global] core.longpaths true 即可解决。
git config --[global] core.longpaths true