Skip to content

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 &gt; x.patch is a patch git apply takes.

Terminal window
droneship diff [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

Show the commits and uncommitted changes in the sandbox for your current checkout:

Terminal window
droneship diff

List the changed files without the patch:

Terminal window
droneship diff --stat

Save the changes as a patch file for git apply:

Terminal window
droneship diff > agent-work.patch

Compare a specific sandbox against a ref other than origin/<branch>:

Terminal window
droneship diff --id <sandbox-id> --base origin/main

Generated from the CLI. Verified against droneship 1.12.0.