git-howtos

Config

Three levels: the latter overrides the former

  1. System, /etc/gitconfig, git config --system
  2. User, ~/.gitconfig or ~/.config/git/config, --global
  3. Project, MyRepository/.git/config,
原文地址:https://www.cnblogs.com/trav/p/13439758.html