gitlab pull拉取失败,报错Access denied. The provided password or token is incorrect

项目场景:

gitlab拉取代码失败


问题描述

git pull命令报错

c 复制代码
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. 

原因分析:

吐槽:报错显示密码错误加上不久前改了密码,我陷入深思,密码到底是什么?然并软,提示不友好。直至在stackoverflow上翻一翻,然后检查了一下,原来是Personal Access Tokens过期了



解决方案:

删除令牌,再拉取一下代码,弹出窗口填入令牌

相关推荐
码农葫芦侠3 小时前
GitLab CI/CD学习教程(第一章概念)
学习·ci/cd·gitlab
小诸葛的博客17 小时前
如何将一个项目推送到gitlab
gitlab
何似在人间57517 小时前
GitLab版本控制-分支(详解)
gitlab
xiaodaiwang21 小时前
gitlab备份到SVN之变更备份服务器
服务器·svn·gitlab
bxp13211 天前
gitlab add an ssh key 多个ssh配置
运维·ssh·gitlab
裁二尺秋风2 天前
CI/CD—GitLab钩子触发Jenkins自动构建项目
ci/cd·gitlab·jenkins
dleei3 天前
使用docker创建gitlab仓库
前端·docker·gitlab
hasnum3 天前
探索 GitLab-Connect:一个连接 GitLab 的轻量级工具
gitlab
极小狐4 天前
极狐GitLab 17.9 正式发布,40+ DevSecOps 重点功能解读【四】
gitlab·devsecops·devops
极小狐5 天前
极狐GitLab 17.9 正式发布,40+ DevSecOps 重点功能解读【三】
gitlab·devsecops·devops