执行以下操作时出现以下错误
$ 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
答案 0 :(得分:0)
不确定你是怎么做的,但基本上删除了
文件中的行 autocrlf = =