git
##startup
配置文件
- /etc/.gitconfig 最顶级
- /home/$USERNAME/.gitconfig 用户设定
- project/.gitconfig 当前项目
下面会把上面的设定覆盖.
git config --global user.name "XXX"
修改/home/username configgit config (--local) user.name "YY"
修改当前项目下的gitconfiggit config --system user.name "ZZZ"
系统通用配置文件
git config --global|system|local --get user.name -> XXX
git config user.name
简写