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