简体   繁体   中英

Stop login popup when doing git pull in VS Code?

I use Windows Subsystem for Linux with VS Code and the keychain tool to manage my SSH keys. 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 .

I've tried setting git.enabled to false in my settings and set both "Git: Terminal Authentication" as well as "GitHub: Git Authentication" to false but I still get the same behavior.

Does anyone know how to completely disable this popup window? 在此处输入图像描述

My problem was that my remotes were https URLs. I did a git remote set-url upstream git@github.com:<myrepositoryname> and then everything worked just fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM