cli.sgit.ai / Command reference / sgit migrate
sgit migrate
Run vault data migrations.
Generated from sgit help all --format json, sgit-ai v0.23.0. 3 subcommands below. To change this page, change the command's register() in the CLI and regenerate.
sgit migrate
Subcommands
sgit migrate apply: Apply pending migrationssgit migrate plan: Show pending migrationssgit migrate status: Show applied migrations
sgit migrate apply
Apply pending migrations
sgit migrate apply [options] [directory]
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
| Option | What it does |
|---|---|
--force | Rewrite history even though the vault has signed commits (other clones will need sgit pull --accept-rewind) |
sgit migrate plan
Show pending migrations
sgit migrate plan [directory]
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
sgit migrate status
Show applied migrations
sgit migrate status [directory]
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
This page as markdown · its source, admin/content/reference/sgit-cli-reference.json