这是新人比较常见的问题之一,解决办法就是,先拉取服务器最新版本,合并后,再推送更新。

参考:http://stackoverflow.com/questions/18328800/github-updates-were-rejected-because-the-remote-contains-work-that-you-do-not-h

Related Posts: Updates were rejected because the remote contains work that you do not have locally.解决办法 :