Git doesn't use VS Code for auth on Windows
See original GitHub issueTesting on Windows 10 in Git Bash running in VS Code, first not GH authenticated in VS Code:
haral@… ~/Downloads/vscode (independent-ox)
$ git push --set-upstream origin independent-ox warning: could not find UI helper 'GitHub.UI*
Select an authentication method for https://github.com/':
1. Web browser (default)
2. Device code
3. Personal access token option (enter for default):
Worse, it persists even when VS Code is authenticated against GH.
Expected behavior: VS Code handles auth.
Probably related: https://github.com/microsoft/vscode/issues/169347
VS Code version: Code - Insiders 1.75.0-insider (44531ffc7b7477dbe82750040d8ed69bae2bb140, 2022-12-15T08:33:44.005Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: Yes
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-7700HQ CPU @ 2.80GHz (8 x 2808) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 15.86GB (8.72GB free) |
Process Argv | –crash-reporter-id 3adeb0c6-b0f1-4dc0-b854-0141c0cd4f7e |
Screen Reader | no |
VM | 0% |
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Remote Development Tips and Tricks - Visual Studio Code
Visual Studio Code Remote Development troubleshooting tips and tricks for SSH, Containers, and the Windows Subsystem for Linux (WSL)
Read more >Visual Studio Code is always asking for Git credentials
For Windows 10: go to Control Panel → Credential manager → Windows Credential → click on the Git link, → ...
Read more >Use Git Credential Manager to authenticate to Azure Repos
Git Credential Manager simplifies authentication with your Azure Repos Git repositories. Credential managers let you use the same credentials ...
Read more >Vscode git authentication failed - Ristorante Lorenzo Le Vedute
Hi, I have problem with pushing commited files on GitHub using VS Code. In the browser window, you will receive your authorization token....
Read more >Install Git and Github in VSCode (Visual Studio Code)
3. Enable Git in VS Code · Go to File > Preferences · Go to Settings · Type Git: Enabled in the search...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the Git extension just needs to ask for auth at the right time. Shouldn’t need anything from the GitHub auth side here.
@lszomoru do you foresee any issues with being first instead of last? The alternative is having us work with whoever is providing this prompt to well… not provide it in VS Code.