问题:
I have cloned project from master branch from remote repository remote_repo
. 我已经从远程存储库remote_repo
master分支中克隆了项目。 I create new branch and I commit to that branch. 我创建一个新分支,然后提交该分支。 Other programmers pushed to remote_repo
to master branch. 其他程序员将remote_repo
推送到master分支。 I need now to rebase my branch RB onto remote_repo
master. 现在,我需要将分支RB重新建立到remote_repo
主服务器上。 How to do this ? 这个怎么做 ? What commands to type to terminal ? 在终端输入什么命令?
解决方案:
参考一: https://stackoom.com/question/XGn3/如何使用远程主服务器重新建立本地分支参考二: https://oldbug.net/q/XGn3/How-to-rebase-local-branch-with-remote-master
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4325730