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



解决方案:

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

相关推荐
有理想的打工人2 天前
gitlab的参数设置与团队管理
gitlab
有理想的打工人2 天前
gitlab群组管理与ssh链接
ssh·gitlab
M-Ellen2 天前
从零搭建 Windows + WSL2 + Docker + GitLab CI/CD 完整手册
ci/cd·docker·gitlab
大脸胖柴2 天前
webStorm+gitLab操作学习
学习·gitlab·webstorm
jekc8684 天前
Ubuntu-GitLab
服务器·ubuntu·gitlab
在路上走着走着5 天前
openclaw v2026.4.5 版本 提示 pairing required 解决方案
gitlab
Gazer_S9 天前
【GitLab npm Registry 非标准端口安装问题解决方案】
前端·npm·gitlab
-KamMinG9 天前
Gitlab版本升级方案-13.x到17.x
gitlab
菜鸡000111 天前
把一个项目传到 GitLab 的某个群组
大数据·elasticsearch·gitlab
AlbertS12 天前
记一次推送lfs失败不能迁移git仓库到新的gitlab的问题
git·ai·gitlab·lfs·rejected