Find all the commits there are in lab branch but in master branch

Posted by dorelal on Stack Overflow See other posts from Stack Overflow or by dorelal
Published on 2010-03-26T15:24:20Z Indexed on 2010/03/26 15:33 UTC
Read the original article Hit count: 102

Filed under:

git-cherry lets me find all the commits missing from upstream. How do I find all the commits that are there in local lab branch but not in local master branch.

git branch -d lab 

Above operation fails because I have some commits not merged. I want the list of those commits that are not merged.

© Stack Overflow or respective owner

Related posts about git