In my case, error was just fatal: refusing to merge unrelated histories
on every especially first pull request after remotely adding a git repo.
Using --allow-unrelated-histories
flag worked with pull request in this way:
git pull origin branchname --allow-unrelated-histories
参考http://stackoverflow.com/a/40107973
网友评论