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