如何使用远程主服务器重新建立本地分支

*爱你&永不变心* 提交于 2020-08-11 05:11:24

问题:

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
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!