Multiple git configurations

suggest change

You have up to 5 sources for git configuration:

(on Windows, it is <git>\mingw64\etc\gitconfig)

The order is important: any config set in one source can be overridden by a source listed below it.

git config --system/global/local is the command to list 3 of those sources, but only git config -l would list all resolved configs.

“resolved” means it lists only the final overridden config value.

Since git 2.8, if you want to see which config comes from which file, you type:

git config --list --show-origin

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents