如何找到分支机构的本地/原始提交?
有两个分支Master
和a
。我知道很久以前的分支已经完成了一些工作。谁在该分支上工作,将Master
分支合并到分支a
中,然后将分支a
合并到Master 。所有分支都在遥控器中。现在,我如何找到最初来自分支
a
的提交?
nb 我不是在寻找某些提交的分支名称。相反,我有分支名称,我正在寻找提交,所以请不要以 this 或其他类似的问题
There are two branches master
and A
. I know that some work has been done in the branch A
a long time ago. Whoever was working on that branch, merged the master
branch into the branch A
, then merged the branch A
to the master
. All the branched are in remote. Now how i can find the commits that originally come from branch A
?
N.B I am not looking for the branch name of certain commit. Rather I have the branch name and I am looking for the commits, so please don't mark it duplicate with this or other similar question
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
”中所述
如“ J -I -H -G ,这是最初来自分支A的承诺。
As described in "Finding a branch point with Git?", that should be possible with Git 2.36 (Q2 2022):
That will give you
J -- I -- H -- G
, which are the commits that originally come from branch A.