Skip to content

Instantly share code, notes, and snippets.

@raf-sh
Created December 9, 2016 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raf-sh/462af8b22ea9372460be2dc9282b4839 to your computer and use it in GitHub Desktop.
Save raf-sh/462af8b22ea9372460be2dc9282b4839 to your computer and use it in GitHub Desktop.
recursively remove git traces
( 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