git

来源:互联网 发布:linux php 目录权限 编辑:程序博客网 时间:2024/06/07 06:18

error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to


原因是手动修改过github 的文件,删除或者修改过,需要先跟本地的数据合并之后才能push,所以

1. git pull

2.git push

就可以了。

转自http://www.cnblogs.com/ccEmily/p/6019628.html

原创粉丝点击