1

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?

Community
  • 1
  • 1
vfclists
  • 16,968
  • 18
  • 63
  • 88

1 Answers1

1

Something like:

git config core.autocrlf false

After this it should not touch line endings.

Vi.
  • 29,583
  • 14
  • 78
  • 138
  • my initial choice was to set core.autocrlf to input but after reading the question referred to Mat comment above I settled for core.autocrlf false – vfclists Feb 28 '12 at 20:16