Search
ctrl/
Ask AI
Light
Dark
System

edgedb branch drop

Remove an existing branch.

edgedb branch drop [options] name

This CLI command requires CLI version 4.3.0 or later and EdgeDB version 5.0 or later. If you are running an earlier version of EdgeDB, you will instead use the edgedb database drop command to drop a database, which branches replaced in EdgeDB 5.0.

The branch drop command runs in the EdgeDB instance it is connected to. For specifying the connection target see connection options.

name

The name of the branch to drop.

--non-interactive

Drop the branch without asking for confirmation.

--force

Close any existing connections to the branch before dropping it.