Skip to content

Continuously trying to push changes (and fail) #8748

@AnrDaemon

Description

@AnrDaemon

Type: Bug

Continuously trying to push changes even though they were pushed already, and the PR UI has been opened from the link in push summary

Reproduction is rather simple.

$ git fetch github --prune
$ git switch -c stage-test github/HEAD
$ git commit --allow-empty -m "Test commit"
$ git push github stage-test:stage-test # actually, push.default = current
$ git status
On branch stage-test
Your branch is ahead of 'github/master' by 1 commit.
  (use "git push" to publish your local commits)

Trying to submit a PR using the UI leads to the following message:

[Window Title]
Visual Studio Code

[Content]
You have 1 unpushed commit(s) on 'stage-test'.

Do you want to push them before creating the pull request?

[Push Commits] [Continue Without Pushing] [Cancel]

If you are trying to Push Commits, it does literally nothing.
If you try to Continue Without Pushing, the next message appears:

[Window Title]
Visual Studio Code

[Content]
There are no commits between 'HEAD' and 'AnrDaemon:stage-5'.

Do you want to push your local commits and create the pull request?

[Push Commits] [Cancel]

Extension version: 0.144.0
VS Code version: Code 1.119.1 (974500e64f0d1cfdf7c9821a2a51c2cb3bf0e561, 2026-05-12T01:20:22+09:00)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz (16 x 3193)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x0fc1 [NVIDIA GeForce GT 640], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=30.0.14.7506 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.19041.5794
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.85GB (16.93GB free)
Process Argv C:\Users\anrdaemon\Documents\_java\Hexlet\5k.TaskManager --log vscode.git=trace
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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