W
W
Wynell_ru2020-04-29 11:06:05
git
Wynell_ru, 2020-04-29 11:06:05

How to rebase an overgrown branch in git?

Good afternoon.
In the picture you see
1) The conditional repository state model at the moment
2) and 3) The states I would like to go to with git rebase
master, tmp1 and tmp2 are branches
I did not forget anything in the second picture. Everything is exactly as I imagine it.
Thanks5ea9356b91cb7347387195.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
Xitsa, 2021-11-30
@Xitsa

The easiest way is probably to do git rebase --interactive --rebase-merges in the tmp1 and tmp2 branches and manually build the desired structure.
See the REBASING MERGES section of the git rebase help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question