Hi guys,
we need to change the autocrlf option for git for the user of our Continua CI service. The default for Git 2.6.1 seems to be autocrlf = true but that messes up the checkout for our repository and therefore the Mercurial copy of our repository is messed up as well. Where do I place the git configuration file?
Regards
Kay Zumbusch
The user configuration file is located at %USERPROFILE%.gitconfig e.g. C:\Users\username.gitconfig
You can also use the command:
git config --global core.autocrlf false
to set the configuration for the logged in user.
Or
git config --system core.autocrlf false
to set the flag system wide.
See also git on Windows – location of configuration files