Skip to content

Instantly share code, notes, and snippets.

@telmen
Forked from JeffreyWay/tip.sh
Created November 24, 2016 17:11
Show Gist options
  • Save telmen/829ec4f93f33d911a790ccbffc53d6c8 to your computer and use it in GitHub Desktop.
Save telmen/829ec4f93f33d911a790ccbffc53d6c8 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