Enabling colors in git command-line interface


Having syntax highlighting is something that comes right away with almost every IDE or Editor.

Enabling a colorful IDE in git is as easy as running following commands in your terminal:

git config color.branch auto
git config color.diff auto
git config color.interactive auto
git config color.status auto

To enable all at once, use following command:

git config color.ui true

HTH

Also read...

Comments are closed.