Archived copy.
This page was recovered from the Internet Archive snapshot of
/pages/viewpage.action?pageId=12058918 taken on 2022-08-14.
The original wiki at wiki.opf-labs.org is being decommissioned.
Configuring how line-endings are handled by git
Recommendation
As we are a cross-platform project, it is important that line-endings are handled consistently. Please abide by the general github advice: http://help.github.com/dealing-with-lineendings/![]()
Mac & Linux
As the page says, Mac and Linux users do not get to sit this out, and should also configure their git repo to commit Unix-style line endings.
Windows msysgit
If you are using msysgit, you may be presented with these options:
I strongly recommend selection option two, 'Checkout as-is, commit Unix-style line endings'.
(Thanks to Sven for the screenshot.)