Skip to content

Instantly share code, notes, and snippets.

@blackymetal
Created July 22, 2013 16:21
Show Gist options
  • Save blackymetal/6055227 to your computer and use it in GitHub Desktop.
Save blackymetal/6055227 to your computer and use it in GitHub Desktop.
git reset uncommited changes
# Revert changes to modified files.
git reset --hard
# Remove all untracked files and directories.
git clean -fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment