首页 > 其他 > 详细

[Practical Git] Configure global settings with git config

时间:2016-08-12 06:42:05      阅读:191      评论:0      收藏:0      [点我收藏+]

You can set up global "git config" settings that apply to all git projects on your system. In this lesson, we review how the ./gitconfig file works. We then add our own git config settings: username, email, editor, and git aliases.

There are many other git config commands that can be used, but this lesson shows you pattern behind them all so you can view and edit your own settings.

 

Alias:

git config --global alias.lg log --graph --oneline -p

 

Then use alias:

git lg

 

[Practical Git] Configure global settings with git config

原文:http://www.cnblogs.com/Answer1215/p/5763468.html

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