Skip to content

Instantly share code, notes, and snippets.

@1901
Created May 10, 2013 01:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save 1901/5551921 to your computer and use it in GitHub Desktop.
Save 1901/5551921 to your computer and use it in GitHub Desktop.
使Git命令输出变成彩色的方法
# 参数可选(auto, ture, false)
$ git config --global color.status auto
$ git config --global color.diff auto
$ git config --global color.branch auto
$ git config --global color.interactive auto
$ git config --global color.ui auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment