Skip to content

Helping users set the correct remote name

Problem to solve

Currently, when user has got multiple remotes in the same repository (e.g. origin and upstream) the GitLab Workflow extension silently selects the (alphabetically) first one (origin in this example).

Users can select remote to be used by setting the gitlab.remoteName (https://gitlab.com/gitlab-org/gitlab-vscode-extension#extension-settings). But that is not obvious to the user.

Proposal

When we detect multiple remotes in the repository, we'll ask user which one they want to use and store it into the workspace settings (gitlab.remoteName)

Further details

Links / references