CLI workflow
Pipe a Git diff straight to a review URL.
Send a unified diff to Diffdump with an HTTP PUT request. A successful upload returns a clean, unlisted review URL as text, so the workflow composes naturally with Git, curl, shells, scripts, and coding agents.
Updated
Open DiffdumpWorking-tree changes
Upload changes that are not staged. The response body is the share URL.
git diff | curl -T- https://diffdump.com/dStaged changes
Add Git’s --cached flag to review what the next commit will contain.
git diff --cached | curl -T- https://diffdump.com/dA committed change
Render the latest commit as a patch without the commit message, then upload it.
git show --format= --patch HEAD | curl -T- https://diffdump.com/dOpen the returned link
Because the response is plain text, it can be passed directly to another command. On macOS:
git diff | curl -T- https://diffdump.com/d | xargs openHTTP responses
| Status | Meaning |
|---|---|
| 201 | Created; the body contains the share URL. |
| 400 | The body was empty or not a unified diff. |
| 413 | The patch exceeded the 2 MiB limit. |
| 429 | The anonymous creation rate limit was reached. |
| 500 | The diff could not be stored. |
Security and expiry
Uploads create unlisted URLs, not authenticated shares. Anyone with the link can view its contents until it expires after 24 hours. Remove secrets before uploading a patch.