SyntaxFix
Write A Post
Hire A Developer
Questions
From root folder run
find . | grep .git
Review the matches and confirm it only contains those files you want to delete and adjust to suit. Once satisfied, run
find . | grep .git | xargs rm -rf