If the contents are *exactly* the same (i.e. a clean cherry pick), you maybe able to use git-patch-id somehow:
https://www.kernel.org/pub/software/scm/git/docs/git-patch-id.html It's used by `git cherry` to find commits that have not been cherry-picked. On Saturday, June 8, 2013 5:03:21 PM UTC+2, lei yang wrote: > > Hi expert, > > I have two commit in different branch, the commit-id is different, but and > the content is the same, is there a method to prove it's the same use > one-liner > > Lei > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.