Merge git repository in subdirectory

后端 未结 7 1295
有刺的猬
有刺的猬 2020-11-30 19:32

I\'d like to merge a remote git repository in my working git repository as a subdirectory of it. I\'d like the resulting repository to contain the merged history of the two

相关标签:
7条回答
  • 2020-11-30 20:02

    Have you tried adding the extra repository as a git submodule? It won't merge the history with the containing repository, in fact, it will be an independent repository.

    I mention it, because you haven't.

    0 讨论(0)
提交回复
热议问题