posts - 54, comments - 32, trackbacks - 0, articles - 0

git rebase 到更新的master

Posted on 2021-04-02 14:33 宋鹏 阅读(252) 评论(0)  编辑 收藏 引用 所属分类: Git
Assume the following history exists and the current branch is "topic":
          A---B---C topic
 D---E---F---G master

From this point, the result of either of the following commands:
git rebase master
git rebase master topic

would be:
                     A'--B'--C' topic
 D---E---F---G master

【推荐】超50万行VC++源码: 大型组态工控、电力仿真CAD与GIS源码库
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理