Skip to content

Git Graph

devxian edited this page Nov 28, 2026 · 14 revisions

English | 한국어

Git graph

Use the Git graph tab to browse a repository's commit history, switch to a branch, tag or commit, and create a branch.

Press ⇧⌘H to open it. The tab shows the latest 1,000 commits of all branches in the repository of its working folder as a graph (git log --all --topo-order).[^graph] It reads the history the first time you view the tab.

Read the graph

Column Contents
Branch/Tag Labels that point at the commit. Only the first label is shown, and the rest collapse into +N
Graph Lanes and commit dots. A commit dot shows the author's avatar or initials. Merge commits get a small dot
Description The commit subject
Author, date, hash The date is relative, such as "3일 전" (3 days ago). The hash shows the first 7 characters
  • Labels take the color of their lane. Icons distinguish local branches, remote branches and tags.
  • A local and a remote branch with the same name on the same commit share one label. Refs such as origin/HEAD and stash are hidden.
  • With more than 8 lanes, the graph is cut so that the text does not shift.

Details panel

Click a commit row to open its details below. Click the same row again to close them.

  • Full hash, author and email, date, all labels, whether it is a merge commit
  • The full commit message
  • Changed files, with lines added and removed for each (binary files show "바이너리"). A merge commit is compared with its first parent.
  • Check out this commit (이 커밋 체크아웃) and Create branch (브랜치 만들기) buttons

Check out and create branches

Target Git command that runs
Local branch label git switch <branch>
Remote branch label git switch --track <remote/branch> (creates a local branch of the same name that tracks it)
Tag label git switch --detach <tag>
Commit git switch --detach <hash> (detached HEAD)
Create branch git branch <new name> <hash>
  • Right-click a label for Check out (체크아웃) and Copy name (이름 복사).
  • Right-click a commit row for Copy commit hash, Copy short hash, Copy subject, Check out this commit (detached HEAD), Create branch here…, and Check out or Copy name for the branches on that row.
  • To create a branch, type the name in the details panel and press Enter. Names that start with - are refused.
  • When the command finishes, the graph reloads and the result (or the Git error) appears in one line to the right of the search box.
  • If Git refuses because of uncommitted changes in the working tree, its message appears as is.

The graph tab has no actions that cannot be undone, such as reset, force push or branch deletion. Run them in a terminal when you need them.

Search

Type in the search box at the top to see the number of matching commits right away. Each Enter moves to the next match and opens its details. After the last match, it wraps to the first.

The search covers the start of the hash, the subject, the author name, the author email and branch and tag names (case-insensitive).

Avatars

Cozzle downloads each commit author's avatar once, in the background, and shows it on the commit dot. If it cannot get one, it shows initials.

Author email Asks What is sent
Regular email Gravatar The MD5 hash of the email address
<id>+<login>@users.noreply.github.com GitHub The GitHub user ID, already in the address
<login>@users.noreply.github.com GitHub The GitHub login, already in the address

Cozzle never sends the email address itself.[^avatar] Downloaded images are kept in ~/.cache/cozzle/avatars (or $XDG_CACHE_HOME/cozzle/avatars) and are not downloaded again. Cozzle also remembers a "no image" answer and does not ask again. To see the avatar of someone who added a photo later, see FAQ.

Agents read the same history with cozzle git log --limit 20.

[^graph]: src/graph.rs, src/graph_view.rs [^avatar]: src/avatar.rs

Clone this wiki locally