docs/features/git.md
Palette:
Review Diff,Review: Commit Range,Review: PR Branch,Git Log,Next Diff Chunk,Previous Diff Chunk. Run Keybinding Editor to see or change the keys.
Fresh has built-in tooling for reviewing diffs, navigating git history, and jumping between changes. Everything here is driven from the command palette.
Review Diff opens a unified buffer that lists files and their diffs in a single scrollable view. The file list sits at the top; each file's hunks follow and can be collapsed. The buffer is the same kind of buffer the editor uses everywhere else, so scrolling, search, and splits all work as normal.
Entry points (all in the command palette):
main..feature or HEAD~5...HEAD.git show for the currently selected commit.Inside a review:
n / p jump to the next and previous hunk.Git Log opens a live-preview commit history. Moving through the log updates the right panel with the diff for the selected commit — no need to open each one to see what it touched. Commit messages wrap, columns align, and the toolbar is clickable.
The built-in Diff Chunk Navigation plugin merges two sources of hunks — the active git diff and any saved diff files — so you can jump between changes the same way in either context. It adds commands like Next Diff Chunk and Previous Diff Chunk to the palette.
See it in action: Review Diff and Git Log in the 0.3.0 blog post.