How can I print out the value of a git configuration setting (core.autocrlf) on Windows? How can I print out the value of a git configuration setting (core.autocrlf) on Windows? git git

How can I print out the value of a git configuration setting (core.autocrlf) on Windows?


If you're using Git Bash:

git config --get core.autocrlf

And for the global config:

git config --global --get core.autocrlf


Where ever your git repo is ie:public_html do:

[~/public_html]$ git config -l

this should list your whole config for that repo. You could also always use:

[~/public_html]$ git config -help

this will show you all the list commands


In the .git dir there is a file named 'config' which has your settings in. This help?