简体   繁体   English

如何使用不同的用户名克隆 AWS CodeCommit 存储库?

[英]How to clone AWS CodeCommit repository with different username?

First time I tried cloning an AWS CodeCommit repository using Git Bash I was asked to provide username and password, but accidently entered a wronge username credential.我第一次尝试使用 Git Bash 克隆 AWS CodeCommit 存储库时,我被要求提供用户名和密码,但不小心输入了错误的用户名凭据。 Now when I rerun git clone https://... it doesn't ask me for a username anymore and I receive an error immediately.现在,当我重新运行 git 克隆https://...时,它不再要求我输入用户名,我立即收到错误消息。 How can I fix this so that I will get asked for my username again?我该如何解决这个问题,以便我会再次被要求输入我的用户名?

Found the solution.找到了解决方案。 For some reason, my wrong credentials got added to Windows Credential Manager.出于某种原因,我的错误凭据被添加到 Windows 凭据管理器中。 Updating username and password there resolved the issue for me.在那里更新用户名和密码为我解决了这个问题。

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

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