how to make a git repo un-git?

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

  

posted @ 2017-01-15 05:29  zmiao  阅读(96)  评论(0编辑  收藏  举报