gel branch create​
Create a new branch (added in 5.0).
gel branch create [options] name
Description​
gel branch create
creates a new branch with the same schema as the
current branch specified in $CONFIG/credentials
. Without any options, it is
equivalent to create schema branch
(added in 5.0).
Options​
The branch create
command runs in the Gel instance it is
connected to. For specifying the connection target see
connection options.
- name
-
The name of the new branch.
- --from oldbranch
-
The optional base branch to create the new branch from. Defaults to the current branch specified in
$CONFIG/credentials
. - -e, --empty
-
Create a branch with no schema or data.
- --copy-data
-
Copy data from the base branch to the new branch.