Ask AI

edgedb branch wipe

Destroy the contents of a branch

edgedb branch wipe [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 wipe command to wipe a database, which branches replaced in EdgeDB 5.0.

The contents of the branch will be destroyed and the schema reset to its state before any migrations, but the branch itself will be preserved.

edgedb branch wipe is a terminal command equivalent to reset schema to initial.

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


The name of the branch to wipe.


Destroy the data without asking for confirmation.