Created
August 3, 2010 10:18
-
-
Save nm3mon/506151 to your computer and use it in GitHub Desktop.
crlf solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#saves your neck when you'r working from windows workstation | |
git config --global core.whitespace trailing-space,space-before-tab,cr-at-eol | |
git config --global core.autocrlf false | |
#in an environment where you have multiple platforms, it's better to that all stick to lf line-endings and windows machines | |
#should do | |
core.autocrlf input | |
#or | |
core.autocrlf true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment