【问题标题】:github squash and merge how to keep it at par with developgithub squash and merge 如何使其与develop保持一致
【发布时间】:2022-08-03 16:18:43
【问题描述】:

我有一个 feature 分支,它只允许 github 上的 squash and merge 选项。 同时develop 分支也正在处理中,所以feature 分支变为:

x 提前提交,y 在开发后提交

现在我如何使feature 分支与开发相提并论

如何制作feature 分支: x 在开发之前提交并且在开发之后没有提交?

    标签: github


    【解决方案1】:

    您需要做的就是将开发合并到您的功能分支中;

    git fetch
    git checkout <your feature branch name>
    git merge develop
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-09-15
      • 2017-06-20
      • 1970-01-01
      • 2016-07-26
      • 2013-10-03
      • 1970-01-01
      • 2017-03-28
      • 2019-02-09
      相关资源
      最近更新 更多