出现 Your configuration specifies to merge with the ref 'refs/heads/test'from the remote, but no such ref was fetched. 这个问题
解决方法:
git pull (you'll see this "Your configuration specifies..") git branch --unset-upstream git push --set-upstream origin correct-branch-name
最后再git pull就可以了