首页 > 其他 > 详细

Git常用命令 - 随时更新

时间:2020-02-06 15:55:21      阅读:90      评论:0      收藏:0      [点我收藏+]

1. 配置用户信息

git config --global user.name <name>
git config --global user.email <email_address>

2. 配置email发送

git config --global sendemail.smtpserver <smtpserver>
git config --global sendemail.confirm = always
git config --global sendemail.suppresscc = all

  confirm选项设置成每次发送总会提示确认信息。suppresscc选项设置成完全禁止auto cc,这样就不会通过检查commit message自动添加email到CC list里了。

Git常用命令 - 随时更新

原文:https://www.cnblogs.com/yanceylu/p/12268871.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!