git 配用户和邮件地址

git全局设置

git config --global user.name "your_name"

git config --global user.email  "your_email"

git针对项目设置

先进入到项目目录下

git config user.name "your_name"

git config user.email "your_email"

git取消全局设置

git config --global --unset user.name 

git config --global --unset user.email

猜你喜欢

转载自dannyhz.iteye.com/blog/2394586
今日推荐