It's not a clever choice to move all .git*
by hand, particularly when these .git
files are hidden in sub-folders just like my condition: when I installed Skeleton Zend 2 by composer+git, there are quite a number of .git
files created in folders and sub-folders.
I tried rm -rf .git
on my GitHub shell, but the shell can not recognize the parameter -rf
of Remove-Item.
www.montanaflynn.me introduces the following shell command to remove all .git
files one time, recursively! It's really working!
find . | grep "\.git/" | xargs rm -rf