在将一个分支与main合并之后,我们可以使用与未合并版本相同的分支(在合并到main之前的分支版本)。 [英] After merging a branch with main, can we use the same branch with the unmerged version (version of the branch before merging to the main).

查看:106
本文介绍了在将一个分支与main合并之后,我们可以使用与未合并版本相同的分支(在合并到main之前的分支版本)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


感谢您对以下查询的澄清提示。


我有一个主(开发)和一个分支(比如分支A)。我们想合并分支A和主分支并创建另一个分支(比如分支B)。合并主分支和分支A后,我们可以分别维护相同的分支A来处理它吗?如果是,请帮助执行
的步骤。


谢谢,


Srinivas。

解决方案

嗨Srinivas,


是的,你可以维持"分支A"。单独处理它。


从"分支A"创建另一个分支的良好做法并开始处理新创建的分支。



如果我考虑"开发"作为父分支,那么层次结构应该是这样的。


Dev-> Branch A->新装箱分店



问候,


Ambresh。



-------------------------------------- -------------------------


如果有帮助,请记得将其标记为答案。


Hi All,

Appreciate your help for the clarification on the below query.

I have a main (Dev) and a branch (say Branch A). We want to merge Branch A and main and create an another branch (say Branch B). After merging main and Branch A, can we maintain the same Branch A separately to work on it? If yes, please help with the steps doing it.

Thanks,

Srinivas.

解决方案

Hi Srinivas,

Yes, you can maintain "Branch A" separately and work on it.

Good practise to create another branch from ""Branch A" and start working on newly created branch.

If i consider "Dev" as parent branch then hierarchy should look like.

Dev->Branch A-> Newly crated Branch

Regards,

Ambresh.

---------------------------------------------------------------

please remember to mark as answer if its helpful.


这篇关于在将一个分支与main合并之后,我们可以使用与未合并版本相同的分支(在合并到main之前的分支版本)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆