Home > Enterprise >  How to show parallel lines UI for git branches in IntelliJ?
How to show parallel lines UI for git branches in IntelliJ?

Time:03-15

How can I show parallel branch lines in IntelliJ git logs?

enter image description here

This is my old project and it shows like that.

In my newer project although I have multiple branches merged to master already, still, that beautiful view isn't there, it's just the straight line appearing.

enter image description here

Is this an IntelliJ bug or I don't get when those lines gets showed?

CodePudding user response:

Judging by the screenshot, the history of your repository is just linear - there are no commits that have more than a single child - that is why no other branches are in the graph.

Branches in git are in fact just a reference to a commit. So several branches can be referencing the same commit without producing any branches in the graph. This seems to be the case.

CodePudding user response:

Intellij has a plugin named GitHub, if you install it (from settings -> plugins) you will have a 'git' tab at the bottom, inside that tab you will see the GUI you are referring to

  • Related