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
  • 18,203
  • 19
  • 69
  • 89

1 Answers1

1

Something like:

git config core.autocrlf false

After this it should not touch line endings.

Vi.
  • 33,936
  • 16
  • 92
  • 141
  • 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