Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jackypanster/c579d63267df4432cef22ee5273b467a to your computer and use it in GitHub Desktop.
Save jackypanster/c579d63267df4432cef22ee5273b467a 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment