which commits got cherry-picked

北城以北 提交于 2020-01-03 02:25:55

问题


a basic question probably. I have cherry-picked some commits across branches. Now I would like to get a list of the commits from branch A that got cherry-picked to branch B. Is there a way to do it?


回答1:


Try this:

git log --oneline --cherry A...B

This lists all commits that are in B but not in A and marks commits that have an equivalent commit in A with =



来源:https://stackoverflow.com/questions/11719926/which-commits-got-cherry-picked

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!