- Existing asset (has an
idin frontmatter) — creates a new version on the API and updatesversionandupdated_atin the frontmatter. - New file (no
id) — creates a brand-new asset, inferring theassetTypefrom the directory name, and writes backid,type,title,version,created_at, andupdated_atinto the frontmatter.
Arguments
Options
Asset type inference
When pushing a new file (noid), the type is inferred from its parent directory:
Examples
See also
- versuno prompts pull — sync assets from the cloud
- versuno prompts status — check which files are modified
- versuno prompts diff — preview changes before pushing

