githubteacher / github-for-developers

practice repo for Nov 24 - 25 class
1 stars 7 forks source link

CRLF #143

Closed bhasub closed 8 years ago

bhasub commented 8 years ago

To handle crlf issues, does setting "* text=auto" in .gitattributes takes care of having uniform line breaks when collaborators use different platforms to check in the code?

patrickmckenna commented 8 years ago

@bharathiraja-subramanian For Windows, type git config --global core.autocrlf true. For Linux and OS X, type git config --global core.autocrlf input.

bhasub commented 8 years ago

Developers use both windows and mac here, in that we should not have gitattributes in remote repository?