Reputation: 21884
I would like to list all the git configuration settings that the user set since git was installed.
I don't know any names or values of the configuration settings.
(In my case I want to find out what causes a particular git behavior)
Upvotes: 2
Views: 596
Reputation: 113385
The git configuration settings are stored in ~/.gitconfig
file.
The file content looks like this:
[user]
name = My Name
email = [email protected]
[color]
ui = true
[push]
default = matching
To output the configuration settings run this:
git config --list
or
git config --l
Upvotes: 6