-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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