In git, what is the easiest way for me to merge all changes (multiple commits) from 1 branch to another branch?

Thank you.

link|improve this question

62% accept rate
feedback

1 Answer

up vote 1 down vote accepted
git checkout branchA
git merge -Xtheirs branchB 

(For git1.7.1+)

Other older alternatives are presented in "git merge -s ours, what about “their"

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.