git status:.git / config中'core.autocrlf'的配置错误

时间:2015-05-29 19:35:58

标签: git

执行以下操作时出现以下错误

$ git status
fatal: bad config value for 'core.autocrlf' in .git/config

我使用git branch或任何其他命令获得相同的结果 关于原因可能是什么建议?

[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
    hideDotFiles = dotGitOnly
    autocrlf = =
[remote "origin"]
    url = git@mst-git:tgi-common/gcmmon.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[submodule "Experience"]
    url = git@mst-git:tgi-windows-os/exp.git
[submodule "Module"]
    url = git@mst-git:tgi-general-tools/module.git

1 个答案:

答案 0 :(得分:0)

不确定你是怎么做的,但基本上删除了

文件中的行
 autocrlf = =