git 删除目录及子目录下的同名文件

find . -name ".git" | xargs rm -Rf

find . -name ".gitignore" | xargs rm -Rf