During git rebase origin/development
the following error message is shown from Git:
fatal: refusing to merge unrelated histories
Error redoing m
I tried git pull --allow-unrelated-histories
didn't work, but what solves this issue for me was:
I copied all the files on my desktop repository to another folder and then deleted the folder.
Then I clone the repo again because it is a new project.
When I copied my files again and push it worked like charm.