On Tue, Jul 13, 2010 at 21:28, jhapk <pradeep.kumar.jha@xxxxxxxxx> wrote: > I have a git history which looks something like as in the figure above. I > want to merge Branch A in Branch B. However, the commits a1, a2 and a3 are > ugly and so I don't want those commits in my Branch B log. Is there anyway > that I can only pull the final form of Branch A without pulling the whole > history of Branch A? Yes, you use rebase to squash or drop those commits, and then merge the branch. -- 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