Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
It is good practice to have all the code in the repository use the same line endings (LF) so that patches can be applied normally. We can add a gitattributes file so that checked out code can still have platform dependent line endings.
More readings:
https://help.github.com/articles/dealing-with-line-endings
http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git