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过期了



解决方案:

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

相关推荐
星释19 小时前
如何自动部署GitLab项目
gitlab
keson要进步19 小时前
CICD实战(二)-----gitlab的安装与配置
linux·运维·gitlab
猫头虎1 天前
[特殊字符]解决 “IDEA 登录失败。不支持早于 14.0 的 GitLab 版本” 问题的几种方法
java·ide·网络协议·http·https·gitlab·intellij-idea
风早君1 天前
jenkins集成gitlab发布到远程服务器
服务器·gitlab·jenkins
大白要努力!3 天前
在 Android Studio 中使用 GitLab 添加图片到 README.md
android·gitlab·android studio
星释3 天前
如何编写GitLab-CI配置文件
ci/cd·gitlab
馨羽的玩具3 天前
gitlab rss订阅失败
gitlab
t198751284 天前
jenkins结合gitlab实现CI
ci/cd·gitlab·jenkins
一颗小豆4 天前
07-接着玩-linux的CD/CI全流程体验
gitlab