[git] refusing to merge unrelated histories
When uploading a new project to Github, an error occurred fatal: HttpRequestException encountered.. Referring to this link to install GCMV still reported this error. I realized it should be because I created a readme on github but didn’t pull it.
Entering command git pull -u master reported fatal: refusing to merge unrelated histories. The solution refers to this link. After that, successfully pulled cloud files to local, then entered command git push -u master to upload successfully.
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.



