git上传出错 failed to push some refs to (…) 1、先拉下来,会自动合并的(不用操心) git pull origin zherong (这是你要上传的分支) 2、再上传 git push -u origin zherong(这是你要上传的分支) 成功解决问题