Skip to content

Instantly share code, notes, and snippets.

@zhunik
Created June 1, 2016 10:54
Show Gist options
  • Save zhunik/b2587054b2d01137081a33a751028ac1 to your computer and use it in GitHub Desktop.
Save zhunik/b2587054b2d01137081a33a751028ac1 to your computer and use it in GitHub Desktop.
Dealing with line endings
git config --global core.autocrlf input
git reset --hard
git add .
git commit -m "Normalize all the line endings"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment