Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Auto-including repositories cloned outside the GitHub extension UI #1724

Description

@jnm2

I clone repos from GitHub on a weekly or daily basis by typing git clone <paste> (or even typing the full URL when that's faster) from the PowerShell console. They end up under the Local Git Repositories section in Team Explorer's Connect pane.

Much later when I want to use GitHub extension features, I find that not only was my Git repo with GitHub remotes not automatically included in the GitHub section of the Connect pane, there's also no easy way to get it there. This means I have to:

  • rename the folder the existing clone is in
  • do a new clone using GitHub extension UI (I still prefer the CLI for this)
  • drop to the CLI and add the local path to the original repo as a remote
  • check out the unpushed branches I'm working on
  • remove the remote to the original repo
  • delete the original repo and hope I didn't miss saving anything, like the git stash contents

Perhaps I'm just overlooking an existing feature. Wouldn't the ideal outcome be that any Git repository that shows up under Local Git Repositories should automatically be included in the GitHub section so long as it has at least one remote with a correct GitHub URL?

The extension looks good, and I want to start using it more fully. Thanks for considering! 😃

Extension version 2.5.2.2566, VS version 15.7.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions