Re: What should be the CRLF policy when win + Linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <matthieu.stigler@xxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]