How do I show my global Git configuration?


I’d like to show all configured Git sections.

I only found git config --get core.editor, and I’d like to output everything that’s configured globally, not only the configured default editor.


You can use:

git config --list

or look at your ~/.gitconfig file. The local configuration will be in your repository’s .git/config file.


git config --list --show-origin

to see where that setting is defined (global, user, repo, etc…)

Answered By – Cameron Skinner

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published