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

Git配置

时间:2016-10-10 20:57:45      阅读:138      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!