我有一个像GIT一样的回购:
/ --- [lots of work] / root --- ref_a --- .---- [ Lots of work ] orphane commit based on ref_a--- [Lots ofworks] \ --- [lots of work]
我想把这个回购拆分成两个回购,比如
repo1:
/ --- [lots of work] / root --- ref_a --- .---- [ Lots of work ]
repo2:
orphane commit based on ref_a--- [Lots ofworks] \ --- [lots of work]
我希望保持所有提交哈希完整。
有可能吗?
答案 0 :(得分:1)
/ --- [lots of work] (branch1)
/
root --- ref_a --- .---- [ Lots of work ] (branch2)
orphane commit
based on ref_a--- [Lots ofworks] (branch3)
\ --- [lots of work] (branch4)