windows下 git 的 颜色 和 命令别名 的配置

配置文件路径:D:\Git\etc\gitconfig

在最后添加:

[color]
  branch = auto
  diff = auto
  status = auto
[color "branch"]
  current = yellow reverse
  local = yellow 
  remote = green
[color "diff"]
  meta = yellow bold
  frag = magenta bold
  old = red bold
  new = green bold
[color "status"]
  added = yellow
  changed = green
  untracked = cyan

[alias]










原文地址:https://www.cnblogs.com/liulaolaiu/p/11744723.html