2
获取更新我去推动工作,我的主分支,但我得到这个错误:推分支,不受其他仓库
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/Machinas/esprit-rwd'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushin
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.
我不想获取更新另一个人COMMITED,因为它是一个他们的错误,我怎么能推动并忽略那个提交?由于
[Force“git push”覆盖远程文件的可能的重复](http://stackoverflow.com/questions/10510462/force-git-push-to-overwrite-remote-files) –