首页 > 代码库 > how to make a git repo un-git?

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

  

how to make a git repo un-git?