Git :fatal: refusing to merge unrelated histories解决
git pull时报错
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
解决办法:
git pull origin master --allow-unrelated-histories
成功后直接提交即可