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



解决方案:

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

相关推荐
画船听雨眠aa1 天前
gitlab云服务器配置
服务器·git·elasticsearch·gitlab
玉米的玉*」*4 天前
新项目上传gitlab
gitlab
鲁子狄4 天前
[笔记] 极狐GitLab实例 : 手动备份步骤总结
linux·运维·笔记·ubuntu·centos·gitlab
节省钱8 天前
【Git】如何在 Git 提交后补充 Change-Id
服务器·git·gitee·gitlab·github·gitcode
dujunqiu8 天前
gitlab处理空文件夹的提交或空文件夹提交失败
git·gitlab·github
摸鱼仙人~8 天前
将本地项目上传到 GitLab/GitHub
elasticsearch·gitlab·github
pingxiaozhao9 天前
Windows的docker中安装gitlab
docker·容器·gitlab
Channing Lewis9 天前
如何实现gitlab和jira连通
gitlab·jira
一颗大樱桃9 天前
Ubuntu安装GitLab
linux·ubuntu·gitlab
Channing Lewis9 天前
PPT大纲:如何用python实现gitlab和jira的集成
python·gitlab·jira