I need to rebase my git repo from a different repo. And not add the different repo as a subtree. The different repo has changes to the same files I'm working on in my local repo. (Don't ask why we don't just unite the repos into different branches in one repo [politics].)
My repo and the common repo respectively.
a-b-c-d
a-b-c-w-x-y-z
My repo needs to become
a-b-c-w-x-y-z-d
Remember it's a different repo not just a different branch. The strategy I was pursuing was to add a branch to my repo from the common repo via these command
remote add common-repo ssh:/path/to/common/repo
Then I see the common repo in my "git remote -v" command. But I don't see it in my "git branch -v" command. If I could just get that into a branch, do the rebase/merge, then remove the branch or never push the branch, then I be rebasing my repo from that common repo.
Of course I want my own repo to retain all the history that the common repo had, noit a collapsed merge.