【问题标题】:Merge two branches not master合并两个非主分支
【发布时间】:2014-09-24 19:14:00
【问题描述】:

我创建了一个分支,它是 master 的后裔。

master -> mybranch

我现在需要将 things/bugfix 中的代码合并到 mybranch 中

master -> things/bugfix

所以我需要东西/错误修复代码在我的分支中

【问题讨论】:

    标签: git github merge


    【解决方案1】:

    第一次结账mybranch

    git checkout mybranch

    然后将things/bugfix 合并为mybranch

    git merge things/bugfix

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-13
      • 2015-06-29
      • 2021-01-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多