Skip to content

Instantly share code, notes, and snippets.

@Anakin-Hao
Last active December 6, 2018 00:57
Show Gist options
  • Save Anakin-Hao/74a4cded5c46ef101c86a2c2605f80da to your computer and use it in GitHub Desktop.
Save Anakin-Hao/74a4cded5c46ef101c86a2c2605f80da to your computer and use it in GitHub Desktop.
Change line ending for entire repo
git rm -rf --cached .
git reset --hard HEAD
https://stackoverflow.com/questions/2517190/how-do-i-force-git-to-use-lf-instead-of-crlf-under-windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment