I have installed Github desktop and git on windows machine, I got a github account and created a dummy repository.
When I intend to upload my package through git bash command line, it fails with error: fatal: refusing to merge unrelated histories
I used several ways to overcome this issues by using existing solution from this community, but still didn't fix the problem. Does anyone know any trick of working this problem? How can I upload my projects to github successfully?
git merge --allow-unrelated-histories
. I wish there were a way to do this in a singlegit pull
. – trysisgit pull origin master --allow-unrelated-histories
.See here stackoverflow.com/questions/37937984/… – Bhargav Variya