Error "Repository is unrelated" when pushing repository with sub-repository to bitbucket

Viewed 1756

There is repository (GameFramework) which I want to use as sub repository in another repositories.

I created a new main repository and then clone GameFramework into this repository and make GameFramework a sub repository. But when I'm trying to push main repository to bitbucket I'm getting error: repository is unrelated or repository is unrelated (in subrepo [path])

This is strange but when after error I clear bitbucket repository and then push again it works!

I taked the video https://youtu.be/WI86_3I2ZH0

Why is this happening?

2 Answers
Related