From: mat Date: Thu, 06 May 2010 09:27:08 GMT Subject: Re: What should be the CRLF policy when win + Linux? Message-ID: <4BE28B6C.3070302@gmail.com> In-Reply-To: Thanks for your answer!! I think what you suggest Ramkumar is indeed what I need, great! The suggestion from hasan to keep with those settings was not doable as the windows guy had the problem of that after even a clean cloning, git was signaling changes (see: http://help.github.com/dealing-with-lineendings/) So I just did: git config --global --unset core.autocrlf and then set for this specifical project: git config core.autocrlf true Hope this is how you meant? Thanks a lot!! Matthieu Ramkumar Ramachandra a écrit : > Hi, > > On Wed, May 5, 2010 at 12:01 PM, mat wrote: > >> 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!! >> > > I'm not sure what you should be doing because I've never worked with > Windows, but the following information might be useful: Yes, you can > have project-specific config quite easily. > > In the command > >> git config --global core.autocrlf true >> > just drop `--global` and the setting becomes repository-specific. > > -- Ram >