且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

远程:HTTP基本:访问被拒绝

更新时间:2023-12-05 14:22:16

输入用户名和密码并输入错误时出现此问题.之后,我不断收到访问被拒绝"的信息.

I got this problem when I was entering my username and password and made a typo. After that I kept getting "Access Denied".

FIX: 打开Windows crontrol面板,从右上角搜索密码,单击"Windows凭据".在列表中,您应该看到类似git: https://gitlab.your.domain.com .删除它.

FIX: Open Windows crontrol panel, Search for passwords from the top right, Click on "Windows Credentials". In the list you should see something like git:https://gitlab.your.domain.com. Remove it.

再次运行git-clone命令,然后会弹出一个窗口,让您再次输入凭据.

Run your git-clone command again and a pop up window should allow you to enter your credentials again.

如果仍然出现相同的错误.检查您的Windows帐户是否未被所有失败的尝试锁定.

If you still get the same error. Check that your Windows account is not locked out by all of the failed attempts.