码迷,mamicode.com
首页 > 其他好文 > 详细

Git配置提交时作者及邮箱

时间:2018-12-12 19:04:05      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:项目   邮箱   system   优先   use   mail   git   sys   目录   

配置提交时作者及邮箱>单独项目:在该项目的目录下执行git config user.name "test";git config user.email "test@test.com";

配置提交时作者及邮箱>当前用户:任意目录下执行git config --global user.name "test";git config --global user.email "test@test.com";

配置提交时作者及邮箱>所有用户:任意目录下执行git config --system user.name "test";git config --system user.email "test@test.com";

以上作用优先级是单独项目>当前用户>所有用户

Git配置提交时作者及邮箱

标签:项目   邮箱   system   优先   use   mail   git   sys   目录   

原文地址:https://www.cnblogs.com/wjsffzb/p/10109708.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!