GitKraken CLI

gk workspace create

Create a new workspace

Synopsis

The gk workspace create command creates a new workspace. Workspaces group multiple repositories, enabling bulk actions and improving developer productivity.

Pass –root-path

to add every Git repository found under a directory, on top of any --add-repos entries. The provider is taken from the first repository; repositories on another provider are skipped with a warning.

Pass –dry-run to print the workspace that would be created, including the resolved provider and orgID, without creating it.

gk workspace create [flags]

Examples


  gk ws create
  gk ws create <name> --cloud --add-repos <path>,<path>

Options

      --add-members strings        Comma-separated list of Gitkraken usernames or emails to add to the workspace
      --add-repos strings          Comma-separated list of repositories to add to the workspace
      --add-teams strings          Comma-separated list of Gitkraken team names to add to the workspace
  -c, --cloud                      Recommended. Create a cloud-based workspace, enabling easier sharing and protecting local work
  -d, --description string         Set the description of the new workspace
      --dry-run                    Validate inputs and print the workspace that would be created, without creating it
  -h, --help                       help for create
      --organization-name string   Set the organization of the new workspace
  -r, --root-path string           Root directory where all subdirectories will be added to the workspace

Options inherited from parent commands

      --no-telemetry     Disable telemetry (OTel spans, Sentry) for this invocation
      --output string    Output format: text or json (default "text")
      --session string   (Optional) Isolate auth and cache under a named session

SEE ALSO

  • gk workspace - Interact with your workspaces. Alias: ‘ws’
Auto generated by spf13/cobra on 31-Aug-2026

© 2023 Axosoft, LLC DBA GitKraken