git config [section] solutions
fix git [section] warnings
- global config
$ vim ~/.gitconfig
[user]
email = xgqfrms@xgqfrms.xyz
name = xgqfrms
$ cat ~/.gitconfig
- project local config
$ vim .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[user]
name = xgqfrms
email = xgqfrms@ufo.com
$ cat .git/config
demos
error: key does not contain a section: email
error: key does not contain a section: name
before
after
refs
https://stackoverflow.com/questions/45174228/git-error-key-does-not-contain-a-section
https://www.thetopsites.net/article/52099522.shtml
git error (email & name)
https://github.com/xgqfrms/git/issues/27#issuecomment-706508420
git 实验
https://www.lanqiao.cn/courses/4/learning/
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!