Review and commit changes from inside Pi without context-switching to
a separate Git client. pi-git-ui provides a focused staging, diff
review, and commit modal designed for agent-assisted coding workflows.
pi install npm:@spences10/pi-git-uiThen run:
/git-ui
Controls:
↑/↓orj/k— move file selection/— filter files by path, state, or status codeenter— open contextual actions for the selected file?— show grouped keyboard help←/→orh/l— scroll the diff previewn/p— move between diff hunks[/]— move between changed linesspace— safely stage/unstage selected file; disabled for partial/conflicted filess— stage selected file explicitlyx— unstage selected file explicitlyS— stage selected hunkX— unstage selected hunk+— stage selected changed line-— unstage selected changed linec— commit staged changes with a Conventional Commit helper or raw messagem— amend the last commit with staged changesg— show repository overview with branches, recent commits, stashes, and remotesa— safely stage all; blocked if partial/conflicted files existA— force stage allu— unstage all- actions menu →
discard file— confirm and discard unstaged file changes r— refreshesc/q— close
Package scripts build transitive workspace dependencies first, then
run local tools through Vite+ with vp exec.
pnpm --filter @spences10/pi-git-ui run check
pnpm --filter @spences10/pi-git-ui run test
pnpm --filter @spences10/pi-git-ui run build