Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git "push to..." menu doesn't show an error if it fails #53231

Closed
mcintyre94 opened this issue Jun 28, 2018 · 3 comments
Closed

Git "push to..." menu doesn't show an error if it fails #53231

mcintyre94 opened this issue Jun 28, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) git GIT issues

Comments

@mcintyre94
Copy link

Issue Type: Bug

  • Check out a branch that's synced, git commit --amend to change the hash of the last commit.
  • From the Source control: Git sidebar, select ... -> "push to...", then origin

The push will fail - as it should because your history doesn't match so you'd need to force push, but you don't get any error message to inform you that it failed.

If you instead use the ... -> Push option, then you get an error suggesting to git pull before pushing. I assume that this same error should be used for push to... as well.

VS Code version: Code 1.24.1 (24f6262, 2018-06-13T17:41:50.128Z)
OS version: Darwin x64 17.6.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 8.00GB (0.07GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
scala-lsp dra 0.2.3
Sbt itr 0.1.7
python ms- 2018.6.0
markdown-preview-enhanced shd 0.3.5
@vscodebot
Copy link

vscodebot bot commented Jun 28, 2018

@vscodebot vscodebot bot added the git GIT issues label Jun 28, 2018
@joaomoreno
Copy link
Member

/duplicate #41519

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Jun 28, 2018
@vscodebot
Copy link

vscodebot bot commented Jun 28, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jun 28, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) git GIT issues
Projects
None yet
Development

No branches or pull requests

2 participants