Skip to main content

graft list

Display all branches with their size, commit count, integrity status, and last update time.

Usage

graft list

Output

Container: my-postgres
Project root: ~/.graft/my-postgres

BRANCH      ACTIVE  SIZE    COMMITS  INTEG   UPDATED
experiment  *       289.2M  0        ⟳      2026-06-04T12:00:00Z
main                289.2M  1        ✓      2026-06-04T11:59:00Z

Columns

ColumnDescription
BRANCHBranch name
ACTIVE* marks the currently active branch
SIZETotal file size on disk
COMMITSNumber of commits in the DAG for this branch
INTEGIntegrity status: verified, pending, - no commits
UPDATEDLast update timestamp

Integrity Status

IconMeaning
The latest commit’s Merkle root matches the current files
Commit exists but hasn’t been verified yet (hashing in progress or not yet run)
-No commits on this branch

Exit Codes

CodeMeaning
0List printed successfully
1Error (not initialized, state file issue)