现在的位置: 首页 > 综合 > 正文

git 颜色问题

2013年10月06日 ⁄ 综合 ⁄ 共 217字 ⁄ 字号 评论关闭

重新配置了一下git发现没有颜色了;


+默认情况下,ubuntu下的终端中,git没有颜色,可以使用如下命令给git配色

+ $ git config --global color.status auto 
+ $ git config --global color.diff auto 
+ $ git config --global color.branch auto 

+ $ git config --global color.interactive auto 


这样git 就有颜色了~



抱歉!评论已关闭.