Skip to content

Add option to choose what remote to open the repository in #40

@Omar-Elmassry

Description

@Omar-Elmassry

Hello 👋,

First, thank you for your work on this extension, it has been very helpful in improving my workflow.

I would like to request a small enhancement: when using the extension to open the current repository in the browser, VS Code should prompt the user to choose which remote to open, in cases where a project has multiple remotes configured (e.g., origin, upstream, or other custom remotes).

Use case example:
When working on a forked repository, I often have multiple remotes like:

origin     (my fork)
upstream   (original repo)

Currently, the extension always opens the default remote, which may not always be the intended one. Having a prompt to select the desired remote (or an optional setting to choose a default behavior) would make the workflow more flexible and convenient.

Suggested behavior:

  • If there is only one remote: open it normally (current behavior).
  • If multiple remotes exist: prompt the user to choose which one to open (similar to how VS Code prompts for branch selection in other commands).

Thanks again for maintaining this extension!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions