Skip to content

Commit History

The Commit History card displays a visual graph of your repository's commit history, with full support for branch visualization and commit operations.

Commit History Graph

The Commit Graph

The graph renders SVG curves for branch lines with:

  • Color-coded branches — Each branch gets a distinct color
  • Merge commits — Shown with a double ring indicator
  • Branch labels — Local branches, remote branches, tags, and HEAD are all labeled inline
  • Expandable messages — Click a commit to expand its full message

Filtering

FilterDescription
Branch filterSelect which branches (local and remote) to include in the graph.
Current branch onlyToggle to show only commits reachable from the current branch.
SearchSearch commits by message, hash, or author.

Commit Operations

Right-click a commit or use the action menu to access these operations:

ActionDescription
View DiffOpen the Diff Viewer for this commit's changes.
Cherry-pickApply this commit's changes onto the current branch.
CheckoutCheck out this commit in detached HEAD mode.
RevertCreate a new commit that undoes this commit's changes.
Create BranchCreate a new branch starting from this commit.
Copy HashCopy the commit's SHA hash to the clipboard.
ResetReset the current branch to this commit. Options: Soft, Mixed, or Hard.

Reset Modes

ModeBehavior
SoftMoves the branch pointer but keeps all changes staged.
MixedMoves the branch pointer and unstages changes, but keeps them in the working directory.
HardMoves the branch pointer and discards all changes. This is destructive.

Infinite Scroll

The history loads incrementally. Scroll to the bottom to load more commits automatically.

Tips

  • Use the branch filter to focus on a specific feature branch and its relationship to the main branch
  • Cherry-pick is great for applying a single fix from one branch to another without merging
  • Creating a branch from a commit in the graph is a quick way to start working from a specific point in history