Skip to content

Instantly share code, notes, and snippets.

@9ete
Created March 4, 2022 19:46
Show Gist options
  • Save 9ete/be9a05807e313164440dc6662f6e8df9 to your computer and use it in GitHub Desktop.
Save 9ete/be9a05807e313164440dc6662f6e8df9 to your computer and use it in GitHub Desktop.
Git Nuke - removes untracked and restores all unstaged
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