原因:
执行git clone时,是通过windows的映射网络驱动器后,通过映射的位置进入的远程机器,然后右键点击 Git Bash Here ,然后执行的git clone
解决:通过 Windows Power Shell 的ssh命令链接到远程机器,然后执行git clone 不会报错。
windows 上面git 克隆clone 的时候报错 warning:Clone succeeded,but checkout failed
git报错 warning: Clone succeeded, but checkout failed.
Sourcetree Clone 错误信息:Filename too long unable to checkout working tree warning: Clone succeeded, but checkout failed.