我不太知道如何描述这一点,但我正在努力扩大我的词汇量。我正在寻找:
- 这个操作叫什么?
- 如何在 Git 中执行此操作?
这是图片:
描述:
I create a branch (
beta
), make some commits, and merge it back into it's parent branch (alpha
).After this merge, the original branch (
alpha
) has some commits made on it, leaving the old branch,beta
, behind.I then want to do some work on the child branch (
beta
) again. However, first I must move it up to where it's parent is (alpha
). What is this action called, and how do I do this?
最佳答案
这称为快进 merge 。 您只需发出即可做到这一点
git merge alpha
处于测试阶段。
关于Git - 将旧分支移动到另一个分支叫什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24152455/