5

This question is not about how to merge two git repos; that problem has already been discussed (keywords: "submodules", "subtree merging").

The question here is, how to merge two GitHub repos?

I wanted to preserve as many GitHub features/data from both GitHub repos as possible. Most importantly, I want to preserve issues and wikis from both GitHub repos.

How might I achieve that?


Info:

I have just learnt that GitHub wikis are git repos themselves (summary: git://github.com/you/proj.wiki), and I have successfully pushed changes to a wiki-repo of mine.

Community
  • 1
  • 1
easoncxz
  • 261
  • 1
  • 4
  • 12
  • Github is just a UI for that git repo, with extra sprinkles of good stuff like "issue-tracker" among others. The Github website doesn't offer this functionality yet. You'll have to manually do this. – kumarharsh Oct 05 '13 at 07:34

1 Answers1

1

Regarding issues, there is no native way to "import" them, you need to recreate them.

You have for instance a project like "github-issue-importer" which could be extended to fetch issues from one GitHub repo and import them in another.

This gist seems to import from one GitHub repo to another.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250