繁体   English   中英

使用Visual Studio时如何防止BitBucket凭据存储在Windows凭据管理器中?

[英]How to prevent BitBucket credentials getting stored in Windows Credential Manager when using Visual Studio?

使用Visual Studio时,我无法停止将BitBucket凭据存储在Windows凭据管理器中。

我已使用所有三个命令取消设置credential.helper

git config --global --unset credential.helper
git config --system --unset credential.helper
git config --unset credential.helper

有趣的是,运行上述命令后, credential.helper设置仍在Visual Studio存储库设置中显示manager

我什至尝试过在Windows服务中禁用Credential Manager,但所有这些都是阻止我打开Credential Manager的原因。 凭据仍在存储中!

我还尝试将credential.helper设置为cache --timeout=600希望在10分钟后忘记凭据。 但是仍然存储凭据,并在10分钟后将其记住。

找不到方法,所以现在我只使用Git Bash

我需要执行此操作,因为我正在使用共享虚拟机,并且无法在其中存储我的个人凭据。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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