初次运行 Git 前的配置
/etc/gitconfig --system
~/.gitconfig 或 ~/.config/git/config --global
.git/config 针对该仓库
git config [--[global | system]] user.name "wangzhen"
git config [--[global | system]] user.name
git config [--[global | system]] user.email "867480592@qq.com"
git config [--[global | system]] user.email
git config [--[global | system]] core.editor [emacs | vim]
git config [--[global | system]] core.editor
git config --list
git config --global --list
git config --system --list
获取帮助
git help config
网友评论