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



解决方案:

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

相关推荐
我一定会有钱4 天前
打造完美工作流:Git 配置”一次推送,三端同步”(Gitee/GitCode/GitHub)
开发语言·windows·vscode·搜索引擎·gitlab·github·visual studio code
LXY_BUAA4 天前
Git_在飞牛中部署 GitLab_20260817
git·gitlab
Jeanyia7 天前
GitLab 配套 Git 常用命令
git·gitlab
极小狐7 天前
极狐GitLab 补丁版本:19.2.1、19.1.3、19.0.5
网络·安全·gitlab·极狐gitlab·安全更新·补丁版本
rustfs8 天前
GitLab 如何与 RustFS 集成?
分布式·rust·gitlab
郝亚军10 天前
gitlab常用命令
gitlab
xixingzhe213 天前
Java 使用 GitLab4J 实现 WebHook
gitlab
童槿顏丶15 天前
GitLab部署到Linux
linux·运维·gitlab
InfinitePlus15 天前
Gitlab docker版本安装
docker·容器·gitlab
进击切图仔15 天前
GitLab 新用户创建与项目授权操作指南
gitlab