How to merge two branches in git -


i have branch name development. made 4 commits , needed revert first commit while preserving these 4 commits. checked out first commit new branch development_back. merge these 2 branches, not want continue in development_back branch in development branch. doable somehow?

if understand correctly have this:

a -> b -> c -> d -> e ^                   ^ development_back    development 

but want this:

a -> b -> c -> d -> e                     ^ development                     ^ development_back 

if correct need merge development development_back, not in opposite way. checkout development_back branch , git merge --ff-only development. --ff-only flag ensures merge fast-forward.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -