Re: What should be the CRLF policy when win + Linux?
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 5, 2010, 13:27 UTC
- Message-ID
- <t2wf3271551005050627jbe328d84q23a85a1e5dced082@mail.gmail.com>
- In-Reply-To
- <4BE141E3.2060904@gmail.com>
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