【问题标题】:Git shell prompts for password in an OpenSSH popup windowGit shell 在 OpenSSH 弹出窗口中提示输入密码
【发布时间】:2017-04-13 11:11:35
【问题描述】:

不知道为什么,最近 git shell 在一个老式的 OpenSSH 窗口中询问我的凭据(顺便说一下,我使用的是 https 连接),而不仅仅是在控制台中提示。

这使我无法使用 wincred,我总是必须输入我的凭据。很烦人,特别是当我打错字时,控制台光标消失了。我怎样才能回到默认模式?

系统:Windows 7
控制台:ConEmu

感谢您的帮助!

【问题讨论】:

    标签: git shell github git-shell


    【解决方案1】:

    使用$ git config --global core.askPass ""

    您还可以在配置中设置凭据以防止每次都被提示 (https://git-scm.com/docs/gitcredentials)。

    【讨论】:

      【解决方案2】:

      这也可能是由Visual Studio Code 引起的。如果是这种情况,只需将 "git.autofetch": false 添加到您的 setting.json 文件中。

      【讨论】:

        猜你喜欢
        • 2012-09-24
        • 1970-01-01
        • 1970-01-01
        • 2013-07-04
        • 1970-01-01
        • 2012-04-02
        • 1970-01-01
        • 2011-03-15
        相关资源
        最近更新 更多