I have 3 different gitconfigs for use with Windows, Linux, and Cygwin.
Although Linux and Cygwin are the same in the CRLF area there are other
areas that I need it to be different.
autocrlf = true
safecrlf = false
---Linux and Cygwin---
autocrlf = input
safecrlf = false
On Thursday, September 13, 2012 6:42:42 AM UTC-7, fpefpe wrote:
> Thanks for the info ... In general I want to save my work, which us usual
> It seems from the install, that there is a mini cygwin layer so if that is
> the case I would
> just use git from within cygwin and set those config sections as noted
> On Thursday, September 13, 2012 3:05:49 AM UTC-4, Philip Oakley wrote:
>> *From:* fpefpe
>> *To:* git-...@googlegroups.com
>> *Sent:* Thursday, September 13, 2012 2:30 AM
>> *Subject:* [git-users] unix / windows EOL
>> Hello --
>> Is there an option or switch for git to handle files created on windows
>> that have a <crlf> EOL where
>> files on unix have <LF>
>> Yes. Though it can be 'complicated' depending on what you want to achieve.
>> (that is you have to think about what you want, and then select the
>> correct setting)
>> The norm is usually for the repo to hold text files with just LF endings,
>> and then let git convert those back to crlf on windows when appropriate
>> based on the settings.
>> In git config (man page), have a look at core.eol, core.safecrlf, and
>> also have a look at `See gitattributes(5) <http://gitattributes.html> for
>> more information on end-of-line conversion.'
>> I chose the simple option of repo has LF.
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To view this discussion on the web visit
>> To post to this group, send email to git-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> For more options, visit this group at
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2012.0.2221 / Virus Database: 2437/5264 - Release Date: 09/12/12
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at