Search code examples
windowslinuxgitconfigurationeol

What is the syntax in .git/config to use Linux line endings in a Windows repository?


Possible Duplicate:
Git on Windows: What do the crlf settings mean?

I am editing Linux files in on a Windows system with Unix EOL aware editors. How can a particular repository be set to respect Linux line endings, ie treat as though it is a Linux system?


Solution

  • Something like:

    git config core.autocrlf false
    

    After this it should not touch line endings.