开发者

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

开发者 https://www.devze.com 2022-12-24 01:50 出处:网络
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-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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号