# Git configuration for Continua CI service

**URL:** https://www.finalbuilder.com/forums/t/git-configuration-for-continua-ci-service/5420
**Category:** Discussion
**Created:** [October 12, 2015, 12:29pm UTC](https://www.finalbuilder.com/forums/t/git-configuration-for-continua-ci-service/5420 "2015-10-12T12:29:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kay.zumbusch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kay.zumbusch](https://www.finalbuilder.com/forums/u/kay.zumbusch)
#### Post date: [October 12, 2015, 12:29pm UTC](https://www.finalbuilder.com/forums/t/git-configuration-for-continua-ci-service/5420/1 "2015-10-12T12:29:40Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [October 13, 2015, 1:58am UTC](https://www.finalbuilder.com/forums/t/git-configuration-for-continua-ci-service/5420/2 "2015-10-13T01:58:40Z")

</div>

The user configuration file is located at %USERPROFILE%.gitconfig &nbsp;e.g. C:\Users\username.gitconfig  
  
You can also use the command:&nbsp;

`git config --global core.autocrlf false`

  
to set the configuration for the logged in user.  

  
Or&nbsp;  
  

`git config --system core.autocrlf false`

  
to set the flag system wide.  
  
See also [git on Windows – location of configuration files](https://www.onwebsecurity.com/windows/git-on-windows-location-of-global-configuration-file)
