Created
March 4, 2022 19:46
-
-
Save 9ete/be9a05807e313164440dc6662f6e8df9 to your computer and use it in GitHub Desktop.
Git Nuke - removes untracked and restores all unstaged
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
git config --global alias.nuke '!git clean -f && git restore .' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment