Skip to content

Instantly share code, notes, and snippets.

@nilkesede
Created February 17, 2016 19:57
Show Gist options
  • Save nilkesede/6de44b1566d9fb16e323 to your computer and use it in GitHub Desktop.
Save nilkesede/6de44b1566d9fb16e323 to your computer and use it in GitHub Desktop.
Fix git CRLF
git config --global core.autocrlf true
git rm --cached -r .
git diff --cached --name-only -z | xargs -0 git add
git commit -m "Fix CRLF"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment