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

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -