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



解决方案:

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

相关推荐
tingting01198 小时前
Anolis OS release 8.10安装gitlab
gitlab
shchojj8 小时前
gitlab推送触发jekins编译
运维·gitlab
独隅1 天前
Git/GitHub/GitLab/Gitee 核心对比指南
git·gitlab·github
开开心心就好1 天前
清理重复文件释放C盘空间的工具
安全·智能手机·pdf·gitlab·音视频·intellij idea·1024程序员节
李少兄1 天前
IDE 提示 “GitLab versions older than 14.0 are not supported” 的深度排查与解决方案
ide·gitlab
惜年_night3 天前
Docker部署05-GitLab的CI-CD发布
ci/cd·docker·gitlab
无人生还别怕4 天前
搭建gitlab服务并接入openldap认证
git·gitlab·github·openldap·ldap·统一认证
*_潇_*4 天前
0095__日常--记一次gitlab Runner配置与CI/CD环境搭建流程
ci/cd·gitlab
开发者联盟league5 天前
在ubuntu上使用apt方式安装gitlab
linux·ubuntu·gitlab
张小凡vip5 天前
gitlab的ci配置文件yaml参数说明
git·ci/cd·gitlab