簡體   English   中英

在執行 git 拉入 VS 代碼時停止登錄彈出窗口?

[英]Stop login popup when doing git pull in VS Code?

我使用 Linux 的 Windows 子系統和 VS Code 和鑰匙串工具來管理我的 SSH 密鑰。 For months I've been able to execute git pull from the command line, using my stored SSH keys to access GitHub without logging in. Suddenly, VS Code started showing a pop-up GitHub login window every time I try to do a git pull .

我嘗試在我的設置git.enabled設置為false並將“Git:終端身份驗證”和“GitHub:Git 身份驗證”設置為 false,但我仍然得到相同的行為。

有誰知道如何完全禁用此彈出窗口 window? 在此處輸入圖像描述

我的問題是我的遙控器是 https URL。 我做了一個git remote set-url upstream git@github.com:<myrepositoryname>然后一切正常。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM