Skip to content

Instantly share code, notes, and snippets.

@facelordgists
Created May 13, 2015 05:28
Show Gist options
  • Star 54 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save facelordgists/80e868ff5e315878ecd6 to your computer and use it in GitHub Desktop.
Save facelordgists/80e868ff5e315878ecd6 to your computer and use it in GitHub Desktop.
Recursively remove .git folders
( find . -type d -name ".git" && find . -name ".gitignore" && find . -name ".gitmodules" ) | xargs rm -rf
@pihamchi
Copy link

smart guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment