1 git push origin master 提示Everything up-to-dategit
表示本地仓库和远程仓库是一致的,没有更新,须要检查本身的提交。rem
2 git push origin master提示error: failed to push some refs to.....同步
hint: Updates were rejected because the remote contains work that you do
hint: not have locally.it
表示远程仓库有的本地没有,须要先把远程仓库同步到本地,以后再执行提交。ast
先执行:date
git pull origin mastercall
后执行:error
git push origin masterco