Created
September 3, 2015 21:24
-
-
Save doublejosh/8ae7ef9a684c8fcd5332 to your computer and use it in GitHub Desktop.
Remove .git folders in folders within current
This file contains hidden or 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") | xargs rm -rf |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be sure to move into a sub-folder within your project root before running this or you will kill off your main project history.