【发布时间】:2019-09-09 09:07:08
【问题描述】:
我运行了一次命令,弹出一个窗口说我需要输入我的用户名和密码,然后我没有输入正确的,现在输入用户名和密码的窗口不显示向上
C:\Users\User\Desktop>git clone https://gitlab.com/group/project.git
Cloning into 'project'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/group/project.git/'
有什么方法可以让我重做这个,这样我就可以输入用户名和 再次输入密码?
【问题讨论】:
-
尝试
git clone https://username@gitlab.com/group/project.git看看是否要求输入密码。如果没有,请尝试git clone https://username:password@gitlab.com/group/project.git -
看来您需要重置
Windows Git Credential Manager。 This回答可能对你有帮助