Find all the commits there are in lab branch but in master branch
git-cherry lets me find all the commits missing from upstream. How do I find all the commits that are there in l开发者_如何学编程ocal 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.
git log master..lab
will show all commits in lab
that aren't in master
.
精彩评论