[git] How do I move my branch from devel to master and return? #168
drdanz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Moving a branch from
master
todevel
It is easy to rebase a branch that you started on
master
ondevel
, since (assuming thatmaster
is fully merged intodevel
and that there are no conflicts) you can just run:Moving a branch from
devel
tomaster
Rebasing a branch in the opposite direction is a bit trickier, since
devel
contains more commits that are not inmaster
. There is an easy way to do it though (always assuming that there are no conflicts).devel
--onto
argumentBeta Was this translation helpful? Give feedback.
All reactions