URL parameter for additional remotes

When you visit a URL for starting a new workspace, Che configures the origin remote to be the Git repository that you specified with # after the FQDN URL of your organization’s Che instance.

The URL parameter for cloning and configuring additional remotes for the workspace is remotes=:

https://<che_fqdn>#<git_repository_url>?remotes={{<name_1>,<url_1>},{<name_2>,<url_2>},{<name_3>,<url_3>},...}
  • If you do not enter the name origin for any of the additional remotes, the remote from <git_repository_url> will be cloned and named origin by default, and its expected branch will be checked out automatically.

  • If you enter the name origin for one of the additional remotes, its default branch will be checked out automatically, but the remote from <git_repository_url> will NOT be cloned for the workspace.