zoukankan      html  css  js  c++  java
  • git在添加文件时出现的错误

    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



  • 相关阅读:
    ARC 080
    CodeForces
    [Lydsy1806月赛] 路径统计
    AGC 022 C
    AGC 022 B
    AGC 020 B
    UVA
    AGC 018 A
    python
    python
  • 原文地址:https://www.cnblogs.com/GodZhe/p/12431521.html
Copyright © 2011-2022 走看看