git status设置颜色

默认情况下,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 就有颜色了

猜你喜欢

转载自blog.csdn.net/zhangyuexiang123/article/details/117708934