Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find out if a particular commit exists on a git branch

Tags:

git

git-svn

I see a commit in foo branch's log. I'd like to determine if that commit has been cherry-picked onto branch bar.

If I were in a pure git environment I think the hashes would be the same, but the branch in question was pulled in using git-svn.

like image 349
Jeffrey Harris Avatar asked Oct 07 '09 23:10

Jeffrey Harris


1 Answers

Try "git cherry" or "git patch-id".

like image 130
Jakub Narębski Avatar answered Sep 23 '22 16:09

Jakub Narębski