fatal: refusing to merge unrelated histories
解决方法 git pull --rebase origin master
然后出现
First, rewinding head to replay your work on top of it...
解决方法 git fetch origin
然后再 git pull --rebase origin master
参考链接
https://blog.csdn.net/mbuger/article/details/70197532