Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Wrong commit is checked out when local branch exists with the same name #7702

Copy link
Copy link
@parched

Description

@parched
Issue body actions
  • Extension version: 0.116.2
  • VSCode Version: 1.103.2
  • OS: Windows
  • Repository Clone Configuration (single repository/fork of an upstream repository):
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x):

Steps to Reproduce:

  1. Create local branch called my-branch
  2. Create an unrelated PR with an upstream source branch called my-branch
  3. Click the Checkout Pull Request button
  4. Note the commit checked out is the local my-branch not the remote one.
Copilot

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.