Enabling Git syntax highlighting for Mac's terminal

前端 未结 7 1558
滥情空心
滥情空心 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:15

    For seeing different colors for the diff command, use:

    git config --global color.diff true
    

    To globally change colors for most commands, use:

    git config --global color.ui true
    
    0 讨论(0)
提交回复
热议问题