remove all .git files and directories use one command

find . -type d -name ".git" | xargs rm -rf

posted @ 2016-09-07 10:44  kylindai  阅读(159)  评论(0)    收藏  举报