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



解决方案:

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

相关推荐
明月心9522 天前
git remote add 用法
gitlab
only_Klein2 天前
jenkins流水线报错:Connection reset by peer
ci/cd·kubernetes·gitlab·jenkins·ssl
梁萌3 天前
docker部署gitlab和gitlab runner
docker·eureka·gitlab
johnnyAndCode3 天前
Idea 设置GitLab时使用账密,而不是token的配置方法
gitlab·idea
天外飞雨3 天前
Gitlab使用
gitlab
BUTCHER54 天前
GitLab SSH 密钥配置
运维·ssh·gitlab
明月心9524 天前
GitLab使用
gitlab
明月心9525 天前
gitlab pull requets
gitlab
BUTCHER55 天前
GitLab基本设置
gitlab
张小凡vip5 天前
Kubernetes---gitlab的ci/cd发布基于k8s的项目示例参考
ci/cd·kubernetes·gitlab