David Given
David Given

Reputation: 13701

Displaying the commit tree in github?

A simple question, but one I can't figure out for myself:

Is there a way to persuade github --- not the git command line tool! --- to show me a graphical view of the commit tree rather than a flat list of commits?

Upvotes: 24

Views: 20320

Answers (3)

gitosaur
gitosaur

Reputation: 51

In GitHub there's a path /commits to see the a sequential list of commits leading up to a given commit or a branch. It presents it in a form of a timeline. It's accessible as History link.

For example, link

  • show the current timeline for main branch: <repository-path>/commits/main
  • the timeline leading to a given commit SHA: <repository-path>/commits/SHA

The resulting timeline allows paging into the older history, each commit could be clicked for details.

This does not show a graph of branches (as shown in Insights/Network), rather it's a timeline for a given branch/line of descent.

Upvotes: 5

etang
etang

Reputation: 538

In the main page of the repository, click Insights -> click Network.

Upvotes: 34

mipadi
mipadi

Reputation: 410662

You can view a graphical representation in the Network tab on the Graphs page.

Upvotes: 3

Related Questions