Hi list. There were 2 branches. One's HEAD was modified to match a specific commit at another branch. Now, how to merge them according to this scheme? A---B---X---E---F => C---D---X---E---F C---D---X' X and X' have no difference. I tried to write a script to cherry-pick E and F, but some of commits are merges and cherry-pick fails. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html