A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.gitlab.com/editor_extensions/visual_studio_code/remote_urls/ below:

GitLab remote URL format | GitLab Docs

Help us learn about your current experience with the documentation.

Take the survey

.

GitLab remote URL format

In VS Code, you can clone Git repositories, or browse them in read-only mode.

GitLab remote URLs require these parameters:

The parameters are then placed together in this order:

gitlab-remote://<instanceUrl>/<label>?project=<projectId>&ref=<gitReference>

For example, the projectID for the main GitLab project is 278964, so the remote URL for the main GitLab project is:

gitlab-remote://gitlab.com/<label>?project=278964&ref=master
Clone a Git project

GitLab Workflow extends the Git: Clone command. For GitLab projects, it supports cloning with either HTTPS or Git URLs.

Prerequisites:

To search for, then clone, a GitLab project:

  1. Open the Command Palette by pressing:
  2. Run the Git: Clone command.
  3. Select either GitHub or GitLab as a repository source.
  4. Search for, then select, a Repository name.
  5. Select a local folder to clone the repository into.
  6. If cloning a GitLab repository, select a cloning method:
  7. Select whether to open the cloned repository, or add it to your current workspace.
Browse a repository in read-only mode

With this extension, you can browse a GitLab repository in read-only mode without cloning it.

Prerequisites:

To browse a GitLab repository in read-only mode:

  1. Open the Command Palette by pressing:
  2. Run the GitLab: Open Remote Repository command.
  3. Select Open in current window, Open in new window, or Add to workspace.
  4. To add a repository, select Enter gitlab-remote URL, then enter the gitlab-remote:// URL for your desired project.
  5. To view a repository you’ve already added, select Choose a project, then select your desired project from the dropdown list.
  6. In the dropdown list, select the Git branch you want to view, then press Enter to confirm.

To add a gitlab-remote URL to your workspace file, see Workspace file in the VS Code documentation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4