Skip to content

Option to exclude items from Git branch checkout list #13506

Closed

Description

  • VSCode Version: Version 1.7.0-insider
  • OS Version: 10.12

When I click the "git branch" item at the left of the status bar, a popup appear with all the branches I might want to switch to, which is expected.

However, this menu lists all of our tags first, and we have dozens of tags on remote releases of our app. It also lists the remote branches of the repo.

I always just want to switch between LOCAL branches I have already tracked. This is the way the "git plus" extension for Atom works. I find it hard to find the branch I am looking for in the list, even with type-ahead.

I realize some people may want the current setup, so how about a prefs setting for "checkout shows local branches only" or something similar? Or preference line items to exclude tags and/or remote branches?

Activity

  1. added
    bug
    git
    on Oct 11, 2016
  2. Krzysztof-Cieslak commented on Nov 2, 2016

    @Krzysztof-Cieslak
    Contributor

    Hey, João Moreno (@joaomoreno) what would be desirable solution for this? I can take a look at it in some free time

  3. joaomoreno commented on Nov 3, 2016

    @joaomoreno
    Contributor

    Krzysztof Cieślak (@Krzysztof-Cieslak) We could introduce a git.checkout setting with the values of all or local.

  4. added
    help wanted
    on Nov 3, 2016
  5. joaomoreno commented on Dec 13, 2016

    @joaomoreno
    Contributor

    Fixed by #16792

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buggithelp wanted

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions