Created
August 5, 2019 16:44
-
-
Save wcarhart/6cc6b8a31882c04496f11b6cc8bbc165 to your computer and use it in GitHub Desktop.
Reset a git repository (before commit)
This file contains 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 git repository (before commit) | |
git reset HEAD \* | |
git checkout -- . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment