Skip to content

Instantly share code, notes, and snippets.

@igorepst
Created February 1, 2016 07:04
Show Gist options
  • Save igorepst/7d5fe9bb8a300802c630 to your computer and use it in GitHub Desktop.
Save igorepst/7d5fe9bb8a300802c630 to your computer and use it in GitHub Desktop.
Replace CRLF in already cloned Git repository
git config core.eol lf
git config core.autocrlf input
git rm -rf --cached .
git reset --hard HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment