.gitの削除 find . -type d -name .git で.gitがあるか確認 find . -type d -name .git -print0 | xargs -0 rm -rf で削除できる