1. 问题描述

unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

2. 解决方案

cmd运行下列命令

git config --system core.longpaths true