Skip to content

models:merge

Terminal window
rai models:merge [OPTIONS]

Merge the current branch into its parent and retire the branch.

The branch must already sit on top of the parent’s latest changes (run rai models pull then rai models deploy first).

Options

OptionTypeDescription
--pathfilePath to the model file (required to verify the branch is fully deployed).
--nametextName of the model to merge.
--deleteBooleanAfter a successful merge, drop the retired branch (schema + oplog store). Default: False.
--forceBooleanWith —delete: drop even if the branch has downstream branches. Default: False.

See Also