简体   繁体   中英

How a detached node could merge into a git branch?

I am using GitKraken on Windows. While I was pulling remote branch into local, I saw this wired log graph, circled in the image . It looks like there's a detached node, a node without parent, but it is able to merge with another branch...not sure what does this means, any idea?

在此输入图像描述

Update after @VonC's comment

In this image, the commit with hash prefix 52a66d2 is the problematic one, and it looks like it had a parent in this view.

So maybe it is GitKraken 's fault?

在此输入图像描述

I found out commit 52a66d2 is committed almost 3 hours earlier than its parent which commit 3058015

That means 52a66d2 has a parent (3058015), and its parent link is shown.

But the display order might not be topological (the parents are not always shown before the children) but using --date=relative .

(see also git show-branch , which defines the two orders)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM