Git can color its output to your terminal, which can help you visually parse the output quickly and easily. A number of options can help you set the coloring to your preference.
color.ui
Git automatically colors most of its output if you ask it to. You can get very specific about what you want colored and how; but to turn on all the default terminal coloring, set color.ui to true:
$ git config --global color.ui true
When that value is set, Git colors its output if the output goes to a terminal
You can use the following command if you want output to use color when written to the terminal
$ git config --global color.ui auto
color.ui: The color.ui is a meta configuration that includes all the various color.* configurations available with git commands. This is explained in-depth in git help config
In-depth explanation from the git config documentation:
color.ui
Git automatically colors most of its output if you ask it to. You can get very specific about what you want colored and how; but to turn on all the default terminal coloring, set color.ui to true:
$ git config --global color.ui true
When that value is set, Git colors its output if the output goes to a terminal
You can use the following command if you want output to use color when written to the terminal
$ git config --global color.ui auto
color.ui: The color.ui is a meta configuration that includes all the various color.* configurations available with git commands. This is explained in-depth in git help config
In-depth explanation from the git config documentation:
No comments:
Post a Comment