承诺被樱桃采摘 [英] which commits got cherry-picked

查看:206
本文介绍了承诺被樱桃采摘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能是一个基本问题。我已经选择了跨分支机构的一些承诺。现在我想获得分支A提交给分支B的提交列表。有没有办法做到这一点?

解决方案试试这个:

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

这列出了所有在B中但不在A中的提交,并标记了与< c $ c> =


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?

解决方案

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 =

这篇关于承诺被樱桃采摘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆