If you set something like this on Windows:
git config --global core.autocrlf false
Where is this global setting getting written to?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It will write the values in a file called .gitconfig, unless you specify another name with the ‘
--file‘ optionNote: the environment variable
GIT_CONFIGcan also be used to specify another name for this file.--filewill supersede GIT_CONFIG value.Whatever its name, it will write it in:
If $HOME or %HOMEPATH% is not properly set, the
git configcommand will fail.It is used to store a per-user configuration and serves as fallback values for the repository-local ‘
.git/config‘ file.