models:merge
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
| Option | Type | Description |
|---|---|---|
--path | file | Path to the model file (required to verify the branch is fully deployed). |
--name | text | Name of the model to merge. |
--delete | Boolean | After a successful merge, drop the retired branch (schema + oplog store). Default: False. |
--force | Boolean | With —delete: drop even if the branch has downstream branches. Default: False. |