Enabling Git syntax highlighting for Mac's terminal

前端 未结 7 1672
滥情空心
滥情空心 2021-01-29 21:38

I miss the Git syntax highlighting I had on Windows for every \"git .*\" command like green staged filenames, some bolding, etc.

How do I enable Git syntax highlighting

7条回答
  •  不要未来只要你来
    2021-01-29 22:04

    I've used next solution:

    git config --global color.diff auto
    git config --global color.status auto
    git config --global color.branch auto
    

    Original article

提交回复
热议问题