git status set color

By default, in the terminal under ubuntu, git has no color

You can use the following command to color 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 

This way git has colors

Guess you like

Origin blog.csdn.net/zhangyuexiang123/article/details/117708934