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



解决方案:

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

相关推荐
极小狐7 小时前
极狐GitLab双机热备搭建指南,主机备机部署与切换实操
gitlab·高可用·极狐gitlab
有同事要进步6 天前
如何在github或者是gitlab上创建空文件
gitlab·github
GoodStudyAndDayDayUp8 天前
gitlab私有化跑CICD
gitlab·gitlab私有化跑cicd
成为你的宁宁8 天前
【Gitlab测试项目】
gitlab·devops
_可乐无糖10 天前
GitLab CI 脚本之 CI_COMMIT_AUTHOR
ci/cd·gitlab
_可乐无糖11 天前
GitLab CI 脚本之 dependencies 和 needs
ci/cd·gitlab
Fan_55812 天前
4核8G云服务器部署GitLab内存耗尽解决方案
gitlab
洋就在江州12 天前
gitlab-cicd 离线集成——springboot-cicd (非docker形式,shell形式)
java·spring boot·后端·ci/cd·gitlab·gitlab-runner
成为你的宁宁13 天前
【Ubuntu 18.04安装Gitlab】
ubuntu·gitlab
长春的KAKA13 天前
GitLab 项目页面报 500 错误的完整修复记录:PostgreSQL 数据库损坏、统计表缺失及数据库迁移
数据库·postgresql·gitlab