What should be the CRLF policy when win + Linux?
- From
- mat <matthieu.stigler@gmail.com>
- Date
- May 5, 2010, 10:01 UTC
- Message-ID
- <4BE141E3.2060904@gmail.com>
Hi
I have two git projects: -one (A) with linux people only -one (B) with someone using windows
As we had "end of line" problems with the person using windows (B), I used:
git config --global core.autocrlf true
Following advices from: http://help.github.com/dealing-with-lineendings/
So everything now if fine with project B, but now some problems using project (A): I wanted to copy the whole project file to another dir, and now it is complaining about the change, signaling warning:
CRLF will be replaced by LF in .../A.
So I don't know exactly what I should do...Should I change all the CRLF from project A, but people will have also problems, or can I switch the config, once I'm using project A and B? It is not so clear in my mind and I would appreciate any advice!!
Thanks a lot
Matthieu Stigler