hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., ‘git pull …’) before pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push --help’ for details.
解决办法:
$ git pull origin master
$ git push origin master

当尝试推送更新到远程仓库时遇到拒绝,通常是因为远程仓库中存在本地没有的工作。本文提供了解决此问题的方法,建议首先拉取远程更改并整合,再进行推送。
8106

被折叠的 条评论
为什么被折叠?



