Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

newline

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?

like image 780
S. Michaels Avatar asked Sep 25 '09 02:09

S. Michaels


1 Answers

If you're using Git Bash:

git config --get core.autocrlf 

And for the global config:

git config --global --get core.autocrlf 
like image 89
Chris Missal Avatar answered Sep 29 '22 08:09

Chris Missal