代码之家  ›  专栏  ›  技术社区  ›  Dr.YSG

VSCODE的Git凭据问题

  •  1
  • Dr.YSG  · 技术社区  · 6 年前

    我们的公司经常强制我们更改密码(包括GIT存储库)。

    我按照上面说的:

    Remove credentials from Git

    做了一个:

    git config --global credential.helper manager
    

    我进入控制面板手动更新密码。然后重新启动VSCODE并尝试再次执行推送。

    fatal: unable to access 'https://ysg4206@bitbucket.draper.com/scm/pntci/orchestrator.git/': Failed to connect to localhost port 3128: Connection refused
    

    我知道我可以到达那里,因为如果我把网址放在我的浏览器里,没有问题。

    1 回复  |  直到 6 年前
        1
  •  0
  •   VonC    6 年前

    这看起来更像是连接问题,而不是身份验证(缓存或不通过凭据帮助器)问题。

    作为 I mentioned here
    或者至少定义一个环境变量:

    NO_PROXY=localhost,.draper.com