how2

git如何清除工作区所有还没有add的文件的修改? - SegmentFault 思否

#

解决不同操作系统下git换行符一致性问题 - 行走在云端的愚公 - 博客园

#提交检出均不转换 git config –global core.autocrlf false

文件名过长无法检出

spring/spring-boot-docs-1.5.20.RELEASE/api/org/springframework/boot/autoconfigure/security/oauth2/resource/class-use/ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration.SocialTokenServicesConfiguration.html: Filename too long error: unable to create file spring/spring-boot-docs-1.5.20.RELEASE/api/org/springframework/boot/autoconfigure/security/oauth2/resource/class-use/ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration.UserInfoTokenServicesConfiguration.html: Filename too long

git config --global core.longpaths true

git for windows下的Filename too long - 赶路人儿 - CSDN博客

文件模式不对

diff –git a/README.md b/README.md old mode 100644 new mode 100755

git diff old mode 100755 new mode 100644 - Magnum Programm Life - 博客园

git config --global core.filemode false
git config core.filemode false