Skip to content

Instantly share code, notes, and snippets.

@russomi
Created July 14, 2013 15:51
Show Gist options
  • Save russomi/5994688 to your computer and use it in GitHub Desktop.
Save russomi/5994688 to your computer and use it in GitHub Desktop.
Re-normalizing a repository based on https://help.github.com/articles/dealing-with-line-endings
git rm --cached -r .
git reset --hard
git add .
git commit -m "Normalize line endings"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment