您好,我遇到了拒绝访问的问题,我已经更新了SSL密钥,没有更改密码。我对所有项目的所有git远程操作都有这个问题。有人能帮我一下吗。
$ GIT_TRACE=1 git clone https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.481599 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
08:49:35.483582 git.c:440 trace: built-in: git clone https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
Cloning into 'vivr-jacada-ui'...
08:49:35.530206 run-command.c:663 trace: run_command: git remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.575342 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.581789 git.c:703 trace: exec: git-remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.581789 run-command.c:663 trace: run_command: git-remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.625438 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.751423 run-command.c:663 trace: run_command: 'git credential-manager get'
08:49:35.852606 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.855582 git.c:703 trace: exec: git-credential-manager get
08:49:35.855582 run-command.c:663 trace: run_command: git-credential-manager get
08:49:36.388781 run-command.c:663 trace: run_command: 'git credential-manager erase'
08:49:36.482029 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:36.485005 git.c:703 trace: exec: git-credential-manager erase
08:49:36.485005 run-command.c:663 trace: run_command: git-credential-manager erase
08:49:36.797981 run-command.c:663 trace: run_command: 'git credential-manager erase'
08:49:36.893709 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:36.896686 git.c:703 trace: exec: git-credential-manager erase
08:49:36.896686 run-command.c:663 trace: run_command: git-credential-manager erase
remote: HTTP Basic: Access denied发布于 2020-02-26 18:01:03
我在输入用户名和密码时遇到了这个问题,并犯了一个打字错误。从那以后,我一直被“拒绝访问”。
修复:打开Windows控制面板,从右上角搜索密码,单击"Windows凭证“。在列表中,您应该看到类似git:https://gitlab.your.domain.com的内容。去掉它。
再次运行git-clone命令,弹出窗口应允许您再次输入凭据。
如果您仍然得到相同的错误。检查您的Windows帐户是否未被所有失败的尝试锁定。
https://stackoverflow.com/questions/57727274
复制相似问题