git 颜色问题

来源:互联网 发布:易建联nba首秀数据 编辑:程序博客网 时间:2024/05/22 00:40

重新配置了一下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 就有颜色了~



原创粉丝点击