Created
January 7, 2020 13:07
-
-
Save ediblecode/e20c8602951dcca5e8dab18ed634298b to your computer and use it in GitHub Desktop.
Reset git repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reset a git repo, for example if you've changed line endings in gitattributes | |
| 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