将分支推送到远程存储库时遇到错误: rejected Updates were rejected because the remote contains work that you do not have locally 将分支推送到远程存储库时遇到错误: rejected Updates were rejected because the remote contains work that you do not have locally
在仓库目录下执行
git pull origin master --allow-unrelated-histories
之后就可以成功的pull,push了