git - 如何重置git身份验证?

标签 git gitlab

我输入了错误的 ID(我的错误),我认为我的计算机的 IP 已被永久禁止。我想取消禁止我的 IP,以便我可以 git clone 到我想要的 git 存储库。当我尝试 git clone 我的 git 存储库时,它说 远程:HTTP Basic:访问被拒绝 严重:“~~我的存储库”身份验证失败

如何重新访问我的 git 存储库?或者我怎样才能重置我的禁止状态?我认为只输入一次错误 ID 并被永久禁止有点苛刻。

最佳答案

您的凭据管理器似乎存储了错误的身份验证并重新使用了它。重置它。

git config --system --unset credential.helper

更多信息:

Remove credentials from Git

GitLab remote: HTTP Basic: Access denied and fatal Authentication

关于git - 如何重置git身份验证?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51581582/

相关文章:

git - 将提交作为 git 存储库的根提交(删除历史记录)

git - 提交到 git 时 stash spring-boot 中 application.properties 中的信息

git - 如何使用 GIT 忽略发布中的某些文件

python - 类型错误 : __init__() got an unexpected keyword argument 'current_app' Django

windows - 如何在 Windows 上的 Git 中创建文件执行模式权限?

linux - git pull 不应用 kubuntu/var/www/html 文件夹中的删除

gitlab - 引用 gitlab 中提交消息中的问题

gitlab - Gitlab & Gitlab Runner 架构

gitlab - 使用 GitLab CI 的多个命名环境的相同步骤

Gitlab 推送。您无权访问 master