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
  • 19,193
  • 21
  • 73
  • 92

1 Answers1

1

Something like:

git config core.autocrlf false

After this it should not touch line endings.

Vi.
  • 37,014
  • 18
  • 93
  • 148
  • 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