0

Why do these lines cross each other. They could have run parallel. What is the significance of crossing lines?

enter image description here

Ayush P Gupta
  • 1,459
  • 1
  • 17
  • 24

1 Answers1

3

This has no particular meaning in Git. This is merely how the GUI chose to visualize it.

You can see if Git does the same with git log --graph --oneline. My guess is that it won't show this crossing in that particular case, but hard to say without seeing the full screenshot.

fphilipe
  • 9,739
  • 1
  • 40
  • 52
  • Thanks for the info. Please tell me one more thing. Why does git branch color changes from one commit to another sometimes. I have a linear history but i notice one part is shown in violet color and other in green. Why so even in linear? – Ayush P Gupta May 31 '19 at 12:18
  • Again, the colors don't have a particular meaning. I guess it has some heuristic which don't always coincide with the way you or I think in branches. See this question for screenshots where you observe the same: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs – fphilipe May 31 '19 at 12:35
  • Okay Thanks a lot for answering – Ayush P Gupta May 31 '19 at 14:25