Answer the question
In order to leave comments, you need to log in
How to change the parent branch?
There are main and develop branches. It was necessary to implement a new feature in a branch derived from develop, that is, develop-> ficha, and I accidentally created the ficha branch while in the main branch, that is, it turned out main-> ficha. How to change parent of ficha branch to get develop->ficha?
Answer the question
In order to leave comments, you need to log in
Not anymore.
If there are no changes in the branch - just delete and create again.
Otherwise, create a new correct branch and cherry-pick your commits there.
Well, or, finally, forget it and just spool into this develop branch.
PS Perhaps you can still do a rebase, but I won’t instruct you offhand.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question