AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Diff Views
See your whole branch against the base branch or switch to uncommitted-only changes.
Diff Views
Split vs unified
Toggle between split and unified views with the s key or the layout toggle in the status bar.
- Split - side-by-side view with the old file on the left and the new file on the right
- Unified - one stream of additions and deletions inline
Diff modes
DiffHub supports two review modes from the status bar:
- All (default) - shows everything your branch changed since it diverged from the base branch. This is the mode most people want before push.
- Uncommitted - shows only your staged and unstaged changes against
HEAD.
Merge-base diffing
DiffHub diffs against git merge-base HEAD <base-branch>.
That means commits pushed to the base branch after you branched do not show up in the review. You only see what your branch changed.