http://www.kernel.org/pub/software/scm/git/docs/git-config.html
If not set explicitly with --file, there are three files where
git config will search for configuration options:
- $GIT_DIR/config
- Repository specific configuration file. (The filename is of course relative to the repository root, not the working directory.)
- ~/.gitconfig
- User-specific configuration file. Also called "global" configuration file.
- $(prefix)/etc/gitconfig
- System-wide configuration file.
沒有留言:
張貼留言