ti fs rollback-layer
Rolls back changes in one layer without committing them to the base.
Syntax
ti fs rollback-layer
--layer-id <string>
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--version]
Options
--layer-id <string>: The ID of the layer. [required]--dry-run: Validate the request without applying changes.--file-system-id <string>: Select the file system. You can also setTI_FS_FILE_SYSTEM_ID.--fs-token <string>: Set the file system user token. If omitted, usesTI_FS_TOKEN.--help: Display help information.--version: Display version information.
For options shared by all commands, see Global options.
Examples
Roll back a layer:
# Discard uncommitted changes and restore the layer's base view. ti fs rollback-layer --file-system-id <file-system-id> --layer-id "<layer-id>"