Skip to content

Instantly share code, notes, and snippets.

@Sunzxyong
Forked from 1901/gitconfig_colorful
Created December 2, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sunzxyong/111aa5ae7ed44f062e0b to your computer and use it in GitHub Desktop.
Save Sunzxyong/111aa5ae7ed44f062e0b 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