Skip to main content
If no path is provided, the cloned repository will be cloned under the current directory in a new folder with the same name as the repository. The <workspace_id> has to be the id that starts with ws., not the name. [--workspace <workspace_id>] specifies an existing workspace to use after cloning. [--new-workspace] forces creating a new workspace rather than prompting. [--ref <ref>] checks out a specific branch name, branch ID, commit ID, or tag ID after cloning. If unspecified, the default branch is checked out. [--nowait] returns immediately without waiting for the initial file sync to your local workspace to complete. By default, the command waits until the sync is done.