Skip to content

Instantly share code, notes, and snippets.

@espinz
Created February 19, 2019 14:19
Show Gist options
  • Save espinz/af5dc25bcf8edc046c7cc069388c99ab to your computer and use it in GitHub Desktop.
Save espinz/af5dc25bcf8edc046c7cc069388c99ab to your computer and use it in GitHub Desktop.
Delete everything in a git folder
find . -maxdepth 1 ! -name "*.git*" -exec rm -rf \{\} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment