Skip to content
Versora

Manual

Graph

The graph

3 min read

On this page

The graph is the central area of a repository tab. It shows the history as a list of commits, from newest (at the top) to oldest, with the lines (lanes) that connect each commit to its parents. Each branch, tag and stash appears as a label next to the commit it points to. When there are changes not committed yet, the first row is the // WIP row.

The graph is where you do most of your day-to-day work:

  • Read the history: who made each commit, when, on which branch, whether it came in through a merge request, what the description says.
  • Navigate: move through the commits with the keyboard, follow a branch along its first parent, go back and forward between selections, pin a branch to the left lane.
  • Find: search by message, author, SHA, file, change, date or with operators; highlight the commits of a few people; hide branches, solo one or use a preset.
  • Act: right-click any commit, branch, tag or stash to open the context menu; select several commits to combine, drop, cherry-pick or revert them; drag branches and commits to merge, rebase, cherry-pick or push.

The three areas of the tab

AreaWhat it showsRelationship with the graph
Left panelThe LOCAL, REMOTE, WORKTREES, STASHES, TAGS and other sections, the "Showing N" and the Filter fieldClicking a branch takes the graph to its commit; the eye on each row hides the branch in the graph; you can drag branches from here.
Graph (center)The history in lanes, with configurable columnsSelects the commit that the right panel details.
Right panelThe selected commit, the changes of the WIP row or the diff of several selected commitsFollows the graph selection.

The full tour of the window is in Interface tour.

Pages in this area

PageWhat you find
The commit graphHow to read the graph: lanes, dots, columns and how to configure them, the BRANCH / TAG column and the counter, the WIP row, branch highlighting, ghost branch, author photos, commit description, MR on the commit, tag annotation, overview bar, "Load more", the footer and Preferences › Graph.
Navigating the graphArrows, J/K, Shift+J/K, back and forward (Alt+←/→ and the mouse side buttons), going to a commit, checkout with a double-click, pinning a branch to the left and the fork point marker.
Search and filtersThe search (Ctrl+F) and each "Search by" mode, the operators, the author filter, the panel filter (Ctrl+Alt+F) with the per-remote syntax, hiding with the eye, solo, hiding a whole section, presets and favorites.
Multiple selectionCtrl+click and Shift+click, the selection diff with "Swap sides" and the actions on several commits at once.
Context menusThe full list of menu items for each thing (commit, selection, local branch, current branch, remote branch, tag, label, stash, WIP row, section headers), with the condition of each item and the link to the page that explains it.
Dragging branches and commitsBranch onto branch (fast-forward, merge, rebase), branch onto remote (push), commit onto branch (cherry-pick without checkout) and commit onto commit (rebase with preview and plan).

Most used graph shortcuts

The shortcuts work with the focus on the graph (click a row first). All the ones that aren't fixed can be changed in Keyboard shortcuts.

ShortcutWhat it does
↑ / ↓ or K / JPrevious or next commit.
Shift+J / Shift+KNext commit on the same branch (first parent) / previous commit on the same branch (child).
Home / EndFirst and last loaded commit.
PageUp / PageDownOne screen up or down.
Shift+↑ / Shift+↓Extend the commit selection.
EscClear the selection of several commits.
Alt+← / Alt+→Go back and forward in the graph navigation.
Ctrl+FSearch the history.
Ctrl+Alt+FGo to the left panel filter field.
Shift+F10 or the Menu keyOpen the context menu of the selected commit.
Ctrl+Z / Ctrl+Shift+ZUndo and redo the last operation.

Tip

Almost everything the graph does is also in the command palette (Ctrl+P): type "Graph:" to see the navigation, preset and column commands, or "Search the graph…" to open the search.

See also