If you have a git repo and now you want to make it a plain filesystem tree .. (removing the git tracking system), you can do the following:
git archive master | tar -x -C /somewhere/else
how to make a git repo un-git?
原文:http://www.cnblogs.com/miaoz/p/6286547.html