Skip to content

Instantly share code, notes, and snippets.

@mkoller
Created June 8, 2016 17:19
Show Gist options
  • Save mkoller/6eb4187b20d58cd454c26d48afc909c6 to your computer and use it in GitHub Desktop.
Save mkoller/6eb4187b20d58cd454c26d48afc909c6 to your computer and use it in GitHub Desktop.
# Revert changes to modified files.
git reset --hard
# Remove all untracked files and directories. (`-f` is `force`, `-d` is `remove directories`)
git clean -fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment