droneship diff
Show what the agent changed: its commits and uncommitted work.
Everything not on GitHub yet: the sandbox’s commits since origin/<branch>, plus uncommitted and untracked files. On a terminal it opens in your pager; droneship diff > x.patch is a patch git apply takes.
droneship diff [OPTIONS]Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
--id ID |
Which sandbox (this checkout’s when omitted) | |
--base REF |
Compare with REF instead of origin/<branch> | |
--stat |
Only the files changed, not the patch |
Examples
Section titled “Examples”Show the commits and uncommitted changes in the sandbox for your current checkout:
droneship diffList the changed files without the patch:
droneship diff --statSave the changes as a patch file for git apply:
droneship diff > agent-work.patchCompare a specific sandbox against a ref other than origin/<branch>:
droneship diff --id <sandbox-id> --base origin/mainGenerated from the CLI. Verified against droneship 1.12.0.