vers run-commit
Start a Vers development environment from an existing commit using its commit ID.Usage
Options
| Option | Description |
|---|---|
--fs-size-cluster | Override cluster filesystem size (MiB) |
--cluster-alias, -n | Set an alias for the cluster |
--vm-alias, -N | Set an alias for the root VM |
Examples
Start from commit ID
With custom aliases
With configuration overrides
How it works
Therun-commit command:
- Loads configuration: Reads
vers.tomlfor default settings - Applies overrides: Uses command-line flags to override configuration
- Creates cluster: Makes API call to create cluster from the specified commit ID
- Updates HEAD: Sets your local HEAD to point to the new root VM
- Confirms success: Shows cluster ID and root VM information
What gets created
- New cluster: Created from the commit’s state
- Root VM: The primary VM in the cluster, restored from commit
- Local HEAD: Updated to point to the new root VM
Getting commit IDs
From commit history
From creating commits
From team members
Configuration integration
The command respects yourvers.toml configuration:
Error handling
Invalid commit ID
Missing commit ID
No .vers directory
vers init in your project directory first.
API failures
Use cases
Reproduce specific state
Team collaboration
Testing and debugging
CI/CD integration
Prerequisites
- Valid commit ID from an accessible commit
- Authenticated with Vers platform
- Network connectivity
- Sufficient resources to create the cluster
- Project directory (
.versdirectory recommended)
See Also
- vers run - Start fresh development environment
- vers commit - Create commits for later reproduction
- vers history - View available commit IDs