git pull 遇到fatal: refusing to me
2016-12-27 本文已影响0人
yaoxiaobing
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