Interactive local diffs. Review, stage, and polish your changes with agents. Think git add -p, but with super powers.
- Interactive staging with a live diff view
- Ask Copilot questions about your code as you review
- Make finishing touches to your changes inline
- Respond to and interact with PR review comments
go install github.com/blakewilliams/gg/cmd/gg@latest
Requires Go 1.25+ and a GitHub token (via the gh CLI or GITHUB_TOKEN env var).
Just run gg in a branch with changes.
Navigation
j/k— move up/downctrl+j/ctrl+k— next/previous filectrl+p— fuzzy file pickergg/G— top/bottomctrl+d/ctrl+u— half-page scroll
Staging
s— stage line/selection (working tree view)S— stage hunku/U— unstage line or hunk (staged view)m— cycle view: working → staged → branch
Search
/— open search, type query, pressenterto confirmn/N— next/previous matchesc— clear search
Actions
enter— ask Copilot about current liner— reply to comment threadx— resolve/unresolve thread:— command palette
Press ? for the full list of keybindings.
