From: fpefpe 
  To: git-users@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 
core.autocrlf, also have a look at  `See gitattributes(5) 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-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.

  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 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