Created
June 18, 2016 14:05
-
-
Save duydao/e316a1917dd6c0371389f4e796d80964 to your computer and use it in GitHub Desktop.
This file contains 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
$ echo "* text=auto" >>.gitattributes | |
$ rm .git/index # Remove the index to force Git to | |
$ git reset # re-scan the working directory | |
$ git status # Show files that will be normalized | |
$ git add -u | |
$ git add .gitattributes | |
$ git commit -m "Introduce end-of-line normalization" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment