What I can do to resolve “1 commit behind master”?

前端 未结 7 2042
予麋鹿
予麋鹿 2020-12-12 10:11

After pushing I\'ve been seeing this message at remote repository:

1 commit behind master.

This merge has conflicts that must be resolved before i

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 11:01

    If the branch is behind master, then delete the remote branch. Then go to local branch and run :

    git pull origin master --rebase
    

    Then, again push the branch to origin:

    git push -u origin 
    

提交回复
热议问题