GitKraken CLI

gk workspace clone

Clone one or more repositories from a workspace.

Synopsis

Clone one or more repositories from a workspace. Specify repository names directly to clone specific repositories, separated by commas for multiple repositories, or use ‘remote/repository-name’ format. If no repository names are provided, use flags for additional command behaviors.

gk workspace clone [flags] | clone <repo1,repo2,repo3|remote/repo-name>

Examples

  # Clone all repositories in the workspace
  $ gk ws clone | gk ws clone -a

  # Clone a single repository by its name
  $ gk ws clone repoName

  # Clone multiple repositories by their names
  $ gk ws clone repo1,repo2,repo3

  # Clone a repository using the 'remote/repository-name' format
  $ gk ws clone remote/repoName

Options

  -a, --all             Skip selection and clone all repositories
  -c, --concurrent      Run clone operations concurrently
  -h, --help            help for clone
  -p, --show-progress   Show Git progress during clone operations

Options inherited from parent commands

  -s, --select-ws   Skip the default workspace for this action and force a workspace selection

SEE ALSO

  • gk workspace - Interact with your workspaces. Alias: ‘ws’
Auto generated by spf13/cobra on 14-Mar-2024

© 2023 Axosoft, LLC DBA GitKraken