GitHub for VSCode在VSCode重启之前未能正确解除链接,

wwtsj6pe  于 10个月前  发布在  Vscode
关注(0)|答案(3)|浏览(105)

类型:Bug

  1. 通过GitHub for VSCode将GitHub链接到VSCode
  2. 通过Account按钮(上方的齿轮,左下角)-> 选择Github用户 -> 解除链接账户
  3. 尝试克隆一个仓库。仍然可以从之前链接的GitHub帐户中选择仓库。
    重新启动VSCode似乎是唯一完全解除链接的方法,这可能很危险。
    VS Code版本:Code 1.72.2 ( d045a5e , 2022-10-12T22:15:18.074Z)
    操作系统版本:Windows_NT x64 10.0.19044
    模式:
    沙箱:否
    系统信息
    | 项目 | 值 |
    | ------ | ------ |
    | CPUs | Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3392) |
    | GPU状态 | 2d_canvas:启用canvas_oop_rasterization:禁用_offdirect_rendering_display_compositor:禁用_off_okgpu_compositing:启用multiple_raster_threads:启用_onopengl:启用_onrasterization:启用raw_draw:禁用_off_okskia_renderer:启用_onvideo_decode:启用video_encode:不可用_offvulkan:禁用_offwebgl:启用webgl2:启用webgpu:禁用_off |
    | 平均负载 | undefined |
    | 内存(系统) | 15.94GB (12.35GB可用) |
    | 进程参数 | --crash-reporter-id 037ea8ec-fc9c-4c22-8cbd-1370e713e758 |
    | 屏幕阅读器 | 否 |
    | VM | 67% |扩展(23)
    | 扩展名 | 作者(省略) | 版本 |
    | ------ | ------ | ------ |
    | path-intellisense | chr | 2.8.1 |
    | vscode-eslint | dba | 2.2.6 |
    | jquerysnippets | don | 0.0.1 |
    | vscode-html-css | ecm | 1.13.1 |
    | prettier-vscode | esb | 9.9.0 |
    | auto-close-tag | for | 0.5.14 |
    | vscode-language-pack-de | MS- | 1.72.10120946 |
    | python | ms- | 2022.16.1 |
    | vscode-pylance | ms- | 2022.10.40 |
    | jupyter | ms- | 2022.9.1202862440 |
    | jupyter-keymap | ms- | 1.0.0 |
    | jupyter-renderers | ms- | 1.0.10 |
    | vscode-jupyter-cell-tags | ms- | 0.1.6 |
    | vscode-jupyter-slideshow | ms- | 0.1.5 |
    | live-server | ms- | 0.4.3 |
    | autodocstring | njp | 0.6.1 |
    | npm-install | ore | 0.0.1 |
    | vscode-css-peek | pra | 4.2.0 |
    | LiveServer | rit | 5.7.9 |
    | altv-vscode-docs | stu
vohkndzv

vohkndzv1#

@TylerLeonhardt,这是GitHub认证扩展的问题,还是GitHub扩展的问题?

jexiocij

jexiocij2#

你需要在GitHub扩展中监听事件:
https://code.visualstudio.com/api/references/vscode-api#authentication

在GH auth扩展中我无法真正做到"撤销会话",因为它只是一个对象,一旦我给你一个会话,我就无法真正"撤销它"。

cuxqih21

cuxqih213#

感谢TylerLeonhardt的澄清。

相关问题