在成功将一个SVN仓库转换为Git之后,我现在有一个非常大的Git仓库,我想将其分割成多个较小的仓库并保留历史记录。
因此,可以有人帮忙分解类似这样的仓库:
MyHugeRepo/
.git/
DIR_A/
DIR_B/
DIR_1/
DIR_2/
分为两个看起来像这样的存储库:
MyABRepo/
.git
DIR_A/
DIR_B/
My12Repo/
.git
DIR_1/
DIR_2/
我尝试按照之前的这个问题的指示操作,但当尝试将多个目录放入单独的仓库时,它并不是很适合 (Detach (move) subdirectory into separate Git repository)。