Inconsistent history #23673
-
I noticed some strange behavior on one of my repositories where the history is not consistent when I go back a couple of commits. To illustrate that, imagine the following recent history:
When I check the state of the history after commit 4 (from github website), I get:
Has anyone ever seen anything like that? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Are there any merges involved in the history? After a merge |
Beta Was this translation helpful? Give feedback.
Are there any merges involved in the history? After a merge
git log
will sort commits from the merged branches by time, so it might look like the histories of the branches were mixed. But the branching history is still there, if you look at the history of an individual commit you’ll see only it’s ancestors.