Thanks for the info ... In general I want to save my work, which us usual 
windows 
code. 

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 

thanks 

On Thursday, September 13, 2012 3:05:49 AM UTC-4, Philip Oakley wrote:
>
>  *From:* fpefpe <javascript:> 
>
> *To:* git-...@googlegroups.com <javascript:> 
> *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 
> core.autocrlf, 
> 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.
>  
>
>  
>
> Thanks 
>
> -- 
> 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 
> https://groups.google.com/d/msg/git-users/-/3Tv5PjH_bEkJ.
> To post to this group, send email to git-...@googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to 
> git-users+...@googlegroups.com <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/git-users?hl=en.
>
> 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 
https://groups.google.com/d/msg/git-users/-/Thbvk3RUrrsJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to