git init初始化仓库后
git add . 添加当前目录所有文件出现以下错误
1.第一种
warning: LF will be replaced by CRLF in .bomr/bomr.yaml.
The file will have its original line endings in your working directory.
解决方法:
git config --global core.autocrlf false
2.第二种
error: open("spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/DependencyManagementPluginActionIntegrationTests-helpfulErrorWhenVersionlessDependencyFailsToResolve.gradle"): Filename too long
解决方法:
git config --global core.longpaths true