Skip to content

Instantly share code, notes, and snippets.

@thinkstylestudio
Forked from JeffreyWay/tip.sh
Created July 18, 2018 06:07
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 thinkstylestudio/d1d60039c27f119d18844928d3edb711 to your computer and use it in GitHub Desktop.
Save thinkstylestudio/d1d60039c27f119d18844928d3edb711 to your computer and use it in GitHub Desktop.
Ever want to undo everything that you've worked on since the last commit (including adding new files)? Here's a little alias to help with that.
alias gundo='git reset HEAD~ && git clean -df'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment