最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

terminal - VS Code: Remote SSH, Git auth provider warning removal - Stack Overflow

programmeradmin1浏览0评论

warning only on VS code server instance script terminal I am using VS Code with remote SSH on an Ubuntu server and on every connect or reconnect I get an annoying warning in the terminal window to relaunch the terminal because git auth provider wants to contribute to the terminal. Currently I only see this warning in the terminal that is opened automatically by VS Code to launch the VS Code Server instance. I was able to suppress the warning in other terminal windows by setting global git credentials.

Yet the warning seems to be sticky on the 'install' terminal, if I try to relaunch it I am prompted again for my password and the warning just reappears again. It does not really affect anything but I would like to hide this warning because every time I use the terminals I get the feeling that something is wrong and frankly want a clean IDE...

Disabling git and re-enabling it is not a real solution. I tried the suggestions in this guide:

/@python-javascript-php-html-css/how-to-fix-vs-codes-git-auth-provider-warning-4724a18e0ba4

which claims the problem is caused by integrated terminal scrollback, but it didn't work and I lost most of the terminal history which actually makes the experience worse.

I don't want to suppress all warnings either by settings.json because there could be relevant warnings by other extensions: { "terminal.integrated.suppressImplicitAnyWarnings": true, your text"extensions.ignoreRecommendations": true }

If anyone has found a way to remove this warning I would really appreciate your help! Even a solution that allows me to hide this terminal from view would be good, because this only runs the VS Code server instance script so I don't need to do anything with it after authentication on connect.

发布评论

评论列表(0)

  1. 暂无评论