git:rejected because the tip of your current branch is behind

問題發生在向遠程push代碼時:git

相信提示信息:bash

hint: Updates were rejected because the tip of your current branch is behindcode

緣由:ip

當前分支低於主版本it

解決辦法:class

sudo git push -u origin mfy -f  //其中mfy是你的分支名

這樣就就能正常提交了,截圖:date

相關文章
相關標籤/搜索