Skip to content

Pull Request defaults to upstream instead of origin as base branch. #7020

Open
@mikebronner

Description

@mikebronner

Type: Bug

  1. Set up a repo that has both an origin and upstream reference.
  2. Create new branch from another branch.
  3. Make some changes and commit them.
  4. Create a PR using the extension.
  5. Note that the PR defaults to the upstream repo, instead of the origin repo.

I expect the PR to default to the origin repo, to avoid accidental PRs to the upstream repo (which unfortunately is happening all the time because of this bug).

Extension version: 0.111.2025060504
VS Code version: Code 1.100.3 (258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3, 2025-06-02T13:30:54.273Z)
OS version: Darwin arm64 24.5.0
Modes:

System Info
Item Value
CPUs Apple M1 Ultra (20 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 64.00GB (1.34GB free)
Process Argv --crash-reporter-id 1a294368-d2ff-4366-8373-082c137ba924
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
31787653:31262186
3e8i5726:31271747
996jf627:31283433
usemplatestapi:31292913
7bj51361:31289155
jjjhb125:31275178
g20af354:31278749
ppe-arr-f-cf:31286559
aj953862:31281341
generatesymbolt:31292705
convertfstringf:31292704
gendocf:31292707

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions