Answer the question
In order to leave comments, you need to log in
Is it possible to move a commit between branches while maintaining their position?
There is a situation (1). Is it possible to move the c3 commit so that the location of the commits in the branches changes to situation (2), while maintaining their positions ?
Answer the question
In order to leave comments, you need to log in
You can try checkout c2 into the new branch, merge from dev, delete dev, and rename the new branch to dev.
If dev has already been started, then there may be problems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question