T
T
tytar2015-11-04 09:04:59
git
tytar, 2015-11-04 09:04:59

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 ?
e6774b6f98154aa5919d7a9a68f73c05.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lega, 2015-11-04
@lega

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.

A
aol-nnov, 2015-11-04
@aol-nnov

Interactive rebase ftw!!1 ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question