Skip to content

Instantly share code, notes, and snippets.

@galvao
Created January 8, 2013 05:17
Show Gist options
  • Save galvao/4481431 to your computer and use it in GitHub Desktop.
Save galvao/4481431 to your computer and use it in GitHub Desktop.
Find all git hidden folders and remove them
find /path/to/dir -name '.git*' -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment