I have two unrelated (not sharing any ancestor check in) Git repositories, one is a super repository which consists a number of smaller projects (Lets call it repository A).
I think you do it like this:
Hope this is useful for you.
Br, Tim
I did something similar (merge history from B into A) like this:
git fetch <ref to your repo B> master:new-branch-on-A
(so, you have copied master branch of B into a new branch 'new-branch-on-A' into your repo A.git checkout new-branch-on-A
git rebase master
(you rebase the new-branch-on-A with the master branch) git checkout master
git merge new-branch-on-A
git branch -d new-branch-on-A
git rebase -i
is your friend if needed).