Skip to content

Instantly share code, notes, and snippets.

@wcarhart
Created August 5, 2019 16:44
Show Gist options
  • Save wcarhart/6cc6b8a31882c04496f11b6cc8bbc165 to your computer and use it in GitHub Desktop.
Save wcarhart/6cc6b8a31882c04496f11b6cc8bbc165 to your computer and use it in GitHub Desktop.
Reset a git repository (before commit)
# 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