Files
docs-next/docs/cli/devvm_clone_add.md

1.2 KiB

devvm clone add

Copy one more repo into this folder's --clone VM

Synopsis

Copy the repo at PATH, a folder in this folder's --clone VM's folder, into the VM at the same path, with its branches, tags and remote-tracking branches, checked out as it is here, starting the VM if it's stopped. The repo gets a remote for the VM, as each of the VM's repos has.

devvm clone add PATH [flags]

Examples

  devvm clone add tools      # copy the repo in ./tools into the VM
  devvm clone add ../shared  # copy a repo beside this one, in the same folder of repos

Options

  -h, --help     help for add
      --here     use this folder's own VM, never that of a folder it's inside
      --parent   use the VM of the nearest folder this one is inside, even across a git repo of its own

Options inherited from parent commands

      --no-input   never ask, and fail where devvm would ask, naming the flag that answers it
  -v, --verbose    show the output of the commands devvm runs instead of a status line

Docs

The docs page for devvm clone add explains it in full.

See also

  • devvm clone: Show or change whether this folder's VM has its own clone of the repo