Forked from facelordgists/delete-git-recursively.sh
Created
September 8, 2020 11:23
-
-
Save jackypanster/c579d63267df4432cef22ee5273b467a to your computer and use it in GitHub Desktop.
Recursively remove .git folders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( 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