I've got two related git repositories on GitHub that should really be one. How do I combine both projects into one project, in a way that satisfies the following context:
- Each repo currently only has a master branch.
- A is the older repo, B is the newer repo.
- A is the canonical repo (ie: repo A has the name that I ultimately want this tool to be called, so I want all future work, after B has been appended to A, to be done in repo A).
- After B has been appended to A, A should exist, B should be deleted.
- I don't want to put one repo as a subdirectory of the other, I want to combine the two repos as if they were one repo all along.
- I want this change to the git history of A to be permanent so that folks don't have to pull refs, but instead just clone the updated repo A and get everything as expected.
- There are 3 similar files between the two repos:
.gitignore
,readme.md
, andpackage.json
.