These are the docs for 14.0, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 14.5 is the newest →
spatial project history clone
Clone history with a snapshot.
spatial project history clone <old_history> <new_history> [flags]
-k, --keep_tags Keep the existing tags. (default true) -i, --snapshot int The snapshot ID of the history to start the new history from. If this flag is not specified, the most recent snapshot from the current history with the tags specified via the 'tags' flag is used. -t, --tags strings If the 'snapshot' flag is specified, this specifies the tags the snapshot will have in the new history. If the 'snapshot' flag is not specified, this specifies the tags used to find the latest snapshot in the old history.
Options inherited from parent commands
--json_output Print output in JSON format. Useful when you need to parse the Spatial CLI output. --log_directory string Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory. --log_level string Sets the log level. Available log levels: debug, info, warning, error, fatal, or panic. --main_config string The path to your project's main configuration file (usually called spatialos.json) --no_animation Disable dynamic output elements such as the spinner, progress bars, etc. --project_name string This flag overrides the project name given in the spatialos.json file of the current SpatialOS project (if there is one).