tags:

views:

82

answers:

2

I'm trying to fix a problem with CRLF on Windows.

How do I see what the value of the configuration setting core.autocrlf is set to on my system?

+2  A: 

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

I was expecting this to be a global setting.
S. Michaels
Then I think Chris Missal's answer could be modified to:git config --global --get core.autocrlf
Yes. Thanks .
S. Michaels
@robertlaing: Actually "git config --get core.autocrlf" would pick from **all** config files: per-repository file `.git/config`, if it isn't there from per-user file `%HOME%/.gitconfig` (or something like that; it is `~/.gitconfig` on Unix) ("--global"), and finally if it isn't there from system-wide file, which is `/etc/gitconfig` on Unix ("--system")
Jakub Narębski
+4  A: 

If you're using Git Bash:

git config --get core.autocrlf
Chris Missal