So I have a repository A. I want to push all the changes made (and the history) to another repository B. So, here's what i did:
git clone [A URL]
cd A // now i'm in the A directory (just to be clear)
git remote add TeamRepo [B URL] // adds the B repository as a remote
git push TeamRepo master // tries to push the changes to B repository
After last command, I have this error: fatal: refusing to merge unrelated histories
Can anyone help me with this? I found some kind of related articles, but they did not help me at all