首页 > 其他 > 详细

Git配置

时间:2016-10-10 20:56:36      阅读:327      评论:0      收藏:0      [点我收藏+]
  • 配置全局用户信息

git config --global user.name "sherry"

git config --global user.email "sherry@126.com"

 

  • 配置命令别名

git config --global alias.st status

git config --global alias.ci commit

这样配置只对当前用户有效,如果想要全局,使用 system代替global

 

  • 开启命令输出演示显示

git config --global color.ui true

Git配置

原文:http://www.cnblogs.com/sherrykid/p/5946889.html

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