赞
踩
报错信息如下:
error: unable to create file apm-sniffer/apm-sdk-plugin/spring-plugins/spring-cloud/netflix-plugins/spring-cloud-feign-1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/spring/cloud/netflix/feign/v11/define/NetflixFeignInstrumentation.java: Filename too long
Checking out files: 100% (2137/2137), done.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
关键字: Filename too long
文件名太长
运行如下命令解决再重新git clone项目就好了:
git config --system core.longpaths true
想看具体原因可以到这里:
https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。