DELETE: remove files, branches, and remote refs

DELETE is PUT's counterpart: where PUT writes refs and stages files, DELETE removes them — by writing to the same ulogs. DELETE stages a tracked file's removal as a delete row, tombstones a branch label in the reflog, or deletes a remote ref; an in-tree file is also unlinked on disk at once, after a dirty check. DELETE is one of the Verbs.

CLI use

The DELETE forms span single files, subtrees, branches, and remote refs; a bare be delete mirrors bare PUT for on-disk removals.

Errors

DELETE refuses rather than lose unsaved work or orphan a worktree; a DELETE of an already-absent path is simply a no-op.