diff
Open the Diffity diff viewer in the browser.
gwt diff [reference] [--uncommitted]
Options
| Option | Description | Default |
|---|---|---|
reference | Git reference to diff against | HEAD |
--uncommitted | Show only uncommitted changes | false |
Examples
gwt diff # Diff against HEAD
gwt diff main # Diff against main branch
gwt diff abc1234 # Diff against a specific commit
gwt diff --uncommitted # Only uncommitted changes
Prerequisites
Requires Node.js (npx). If not available, shows:
Diffity not available. Install Node.js and run: npx diffity
See also
- Diffity concept for the full code review workflow
- Gateway for accessing Diffity via subdomain