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 Diffdump

Working-tree changes

Upload changes that are not staged. The response body is the share URL.

git diff | curl -T- https://diffdump.com/d

Staged changes

Add Git’s --cached flag to review what the next commit will contain.

git diff --cached | curl -T- https://diffdump.com/d

A 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/d

Open 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 open

HTTP responses

StatusMeaning
201Created; the body contains the share URL.
400The body was empty or not a unified diff.
413The patch exceeded the 2 MiB limit.
429The anonymous creation rate limit was reached.
500The 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.