Skip to content

Instantly share code, notes, and snippets.

@ralfebert
Created April 20, 2013 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralfebert/5425624 to your computer and use it in GitHub Desktop.
Save ralfebert/5425624 to your computer and use it in GitHub Desktop.
git alias.clear resets working tree to HEAD
git config --global alias.clear '!git reset --hard;git clean -fd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment