Git Merge per commit? -


so here thing, got accepted in job, now, looking how created branches, came across issue dip branch (development in progress) behind 51 commits master, , 145 commits ahead of master, sure thing, merged everything, there many conflicts warrants me abandon merge , @ commit logs, here problem, when started comparing 51 behind commits realized there many commits in between commits added master not in dip, confused how merge easily. think happened, that, past developer, committed fixes on release branch , master branch, didn't commit dip branch, , committed again fixes on release branch , master branch, , dip branch, , fort, instead of merging, master dip branch... now, there way merge 1 one.

is there way merge commits?

you use rebase function, explained in git book

or create new branch , use git cherry-pick each commit.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -