I have 2 Git repos that I now wish to merge into one repo, but as separate branches (i.e. one will stay as the main branch, while the other becomes a branch of the remaining repo). Is this possible?
I've tried following the answer given here: Merge git repo into branch of another repo but I get the error
Automatic merge failed; fix conflicts and then commit the result.