Skip to content

Instantly share code, notes, and snippets.

@JM-Mendez
Last active November 30, 2021 22:28
Show Gist options
  • Save JM-Mendez/d0693db8401a9e8e5dd9a8ac4b5ef93e to your computer and use it in GitHub Desktop.
Save JM-Mendez/d0693db8401a9e8e5dd9a8ac4b5ef93e to your computer and use it in GitHub Desktop.
update all line endings with git #git
# After updating .gitattributes, this will remove the local files and get them from the index
# with the correct line endings.
git rm --cached -r .
git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment