Commits and the commit graph
The commit history views show every change recorded in a repository. The commit log lists commits on a branch newest-first, each commit has its own detail page with the full message and diff, and the branch graph draws the branch and merge topology as a picture or as a table. Use these views to see what changed, when, by whom, and how the branches relate.
Where to find it
- URL: the commit log is at
gitvetrix.com/<owner>/<repo>/commits, a single commit is atgitvetrix.com/<owner>/<repo>/commits/<commit-sha>, and the branch graph is atgitvetrix.com/<owner>/<repo>/graph. - Navigation: open a repository and use the summary bar on its home page: select Commits for the log or Branch Graph for the graph. From an open commit, the breadcrumb Commits link returns you to the log.
Browse the commit log
- Open Commits for the repository.
- Read the list, which shows the newest commits at the top. Each row shows a build-status dot, the commit's summary line, a short commit ID, and — on wider screens — the author and how long ago the commit was made. A row whose commit has an extended message beyond its summary line shows a small
[···]marker. - Select any row to open that commit's detail page.
To view a different branch or tag, use the branch selector at the top right of the list, type to filter, and choose a ref. The list reloads to show that ref's history.
If the branch has no commits, the list shows No commits. If a ref cannot be loaded, it shows Could not load commits.
Read a single commit
- Select a commit from the log, the graph table, or a short commit ID anywhere it appears.
- The header card shows the commit's summary line, the extended message below it when there is one, and these details:
- SHA — the full commit ID.
- Author — who wrote the change, with the time it was authored.
- Committer — shown only when the committer differs from the author.
- Parents — the parent commit or commits, each a link to its own detail page.
- Below the header, a summary shows how many files changed and the total lines added and removed.
- Read the change itself in the diff below the summary. When a commit has no parent to compare against, a Changed files list is shown instead, with the lines added and removed per file.
The diff surface is described under Compare changes.
Read the branch graph
- Open Branch Graph for the repository.
- Choose what to draw with the scope control: All branches walks every branch, or Branch walks a single branch you pick from the selector next to it.
- Switch between two views of the same history with the Graph and Table buttons:
- Graph draws the commits and their branch and merge lines as a diagram.
- Table lists the same commits with the columns Commit, Subject, Branches, Parents, Author, and Date. Select a commit ID to open its detail page.
- When more history is available, select Load older commits to add the next batch beneath what is already shown. When the whole history is loaded, the view notes that all commits are shown.
A repository with no commits shows No commits, and a repository with only its first commit shows Nothing to graph yet, because there is no branch history to draw.
Related pages
- Branches and tags — list, inspect, and delete the branches and tags in a repository.
- Compare changes — pick two refs and read the diff between them.