Re: What should be the CRLF policy when win + Linux?
- From
- mat <matthieu.stigler@gmail.com>
- Date
- May 6, 2010, 09:27 UTC
- Message-ID
- <4BE28B6C.3070302@gmail.com>
- In-Reply-To
- <t2wf3271551005050627jbe328d84q23a85a1e5dced082@mail.gmail.com>
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 :
Show 22 quoted lines
> Hi, > > On Wed, May 5, 2010 at 12:01 PM, mat <matthieu.stigler@gmail.com> 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 >