Git独立一个目录为独立git Jul 28, 2020 把beauty/code独立为一个独立git git subtree split -P code -b becode cd .. mkdir beautycode cd beautycode git init git pull ../beauty becode 参考: https://printempw.github.io/splitting-a-subfolder-out-into-a-new-git-repository/