To see all of the git config values you can use:
git config --list --show-origin
My question is this. If core.autocrlf
shows up multiple times (some true
and some false
). Which value is actually being used? Is there a command that shows you the "effective" git config value being used for every config value?
Searching I found:
How to obtain the effective git-config values and their source? - I thought this would be the answer to my question but it just shows how to use
git config --list --show-origin
. This points toWhere do the settings in my Git configuration come from? - This nicely explains how there are multiple git locations but it doesn't say what the effective value is.
NOTE: It appears by experimentation that
git config --get core.autocrlf
Gives me the effective value (for the one config property core.autocrlf
).
Is there a command that gives you the effective value for all config properties?