Skip to content

Instantly share code, notes, and snippets.

@linki
Last active August 29, 2015 14:05
Show Gist options
  • Save linki/6ddaa047c6496ccca21b to your computer and use it in GitHub Desktop.
Save linki/6ddaa047c6496ccca21b to your computer and use it in GitHub Desktop.
cleans your local working copy
git checkout $SHA && git reset --hard && git clean -dxf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment