How to color the Git console?

前端 未结 11 1118
借酒劲吻你
借酒劲吻你 2020-11-30 16:07

I recently saw that the git console in Windows is colored, e.g. Green for additions, red for deletions, etc. How do I color my git console like tha

11条回答
  •  温柔的废话
    2020-11-30 16:35

    In your ~/.gitconfig file, simply add this:

    [color]
      ui = auto
    

    It takes care of all your git commands.

提交回复
热议问题