Borek Bernard
Borek Bernard

Reputation: 53352

Visualize branches on GitHub

In TortoiseGit, gitk or on BitBucket, it is common to have a visualization of the project history with all the branches, like this:

enter image description here

However, GitHub's commit history seems to be flat, at least I couldn't find a way to display this kind of graph. Can the GitHub's web UI somehow visualize branches like other Git clients commonly can?

Upvotes: 197

Views: 190566

Answers (2)

Ruslan Ostafiichuk
Ruslan Ostafiichuk

Reputation: 4722

You can see a graph, but without commit messages in Insights => Network section (commit messages with authors are shown on hover).

Note: this works for public repos or GitHub Enterprise only!

Example: https://github.com/google/orbit/network Network grap

Upvotes: 228

Nirmal Scaria
Nirmal Scaria

Reputation: 611

You could use Le Git Graph, a browser extension that does exactly this.

Screenshot

Install the extension from here : https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff

It will add a new "commits" section to every GitHub repo you open. Open the commits graph and there, all commits across branches will be listed along with the git graph.

Screenshot 2

Hope it helps!

Upvotes: 33

Related Questions