git config author
modify file
cd .git
vim config
// add this
[user]
name = xxxx
email = xxccc.oo@nihao.com
cmd 模式
配置
git config --global user.name "username"
git config --global user.email "email"
查看
git config user.name
git config user.email
局部配置. 修改
git config user.name "usernamexxx"
git config user.email "email@gmail.com"