如何在SourceTree中摆脱“Windows的Git凭证管理器”窗口?

问题描述 投票:1回答:3

添加存储库后,会弹出一个标题为“git凭据管理器for Windows”的窗口。无论我做什么(输入不同的登录名和密码,取消),它都会再次出现。并且超过两份。如何摆脱它?

我在.hgrc文件中注册了以下设置,但这没有帮助。

[auth]
repo.prefix = http://to.my.repo
repo.username = <login>
repo.password = <pass>
repo.schemes = http

git credential manager for windows

我把问题放在网站atlassian.com上。我希望有一个解决方案)这是链接。在community.atlassian.com上的How-in-SourceTree-to-get-rid-of-a-window-Git-credential-manager

我问了一个问题,但无法得到答案。我做了我所建议的一切,但没有任何作用。为什么“Windows的Git凭证管理器”窗口访问https服务器?

https://community.atlassian.com/t5/SourceTree-questions/SourceTree-tries-to-enter-quot-https-quot-although-the-settings/qaq-p/634852#M16629

mercurial atlassian-sourcetree
3个回答
0
投票

0
投票

The approach in this blogpost by Ben Gillbanks worked for me.

简而言之:

  • 打开SourceTree并导航到要更新密码的存储库
  • 单击“终端”按钮,在命令行上跳转到repo的位置
  • 输入'Git Pull'并点击return以更新存储库
  • 请求时输入您的密码
  • 完成

除了这种方法,我首先从工具>选项>身份验证中删除了保存的密码,但我不知道这是否有所不同。


0
投票

1.转到工具 - >选项

2.取消选中“每隔[10]分钟检查一次更新默认遥控器”

3.Restart SourceTree!

© www.soinside.com 2019 - 2024. All rights reserved.