How to rebase local branch with remote master

后端 未结 7 1225
北海茫月
北海茫月 2020-11-28 17:03

I have a cloned project from a master branch from remote repository remote_repo. I create a new branch and I commit to that branch. Other programmers pushed to

相关标签:
7条回答
  • 2020-11-28 17:41

    Step 1:

    git fetch origin
    

    Step 2:

    git rebase origin/master
    

    Step 3:(Fix if any conflicts)

    git add .
    

    Step 4:

    git rebase --continue
    

    Step 5:

    git push --force
    
    0 讨论(0)
提交回复
热议问题