restore materializes the selected snapshot into the current working directory.
It restores files into the current working directory. Files that are not present in the snapshot are not deleted.
Usage
rinne restore [options] <selector>
Options
--space <space>
Use the specified space instead of the current space.
--parallel <N>
Override the max degree of parallelism.
--path <path>
Restore only the specified path. Can be specified multiple times. Use it for files or directory roots such as Assets/ or ProjectSettings/TagManager.asset.
Examples
Restore the latest snapshot into the working directory
rinne restore '@0' Restore from another space
rinne restore --space main '@0' Restore only one subtree
rinne restore '@0' --path Assets/ Restore selected paths
rinne restore '@0' --path ProjectSettings/ --path README.md
Notes
- Selectors accept @N, full ids, and unique prefixes.
- Use workspace-relative paths when you limit the restore target with --path.
- This command does not delete extra files that exist only in the working directory.