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



解决方案:

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

相关推荐
极小狐16 小时前
极狐GitLab 项目 API 的速率限制如何设置?
大数据·运维·git·elasticsearch·gitlab
rider18919 小时前
【1】CICD持续集成-docker本地搭建gitlab代码仓库社区版
ci/cd·docker·gitlab
极小狐1 天前
极狐GitLab 登录限制如何设置?
ci/cd·gitlab·devops·mcp
极小狐1 天前
极狐GitLab 议题和史诗创建的速率限制如何设置?
linux·运维·数据库·git·安全·gitlab·极狐gitlab
极小狐1 天前
极狐GitLab 项目和群组的导入导出速率限制如何设置?
ci/cd·gitlab·devops·mcp
极小狐1 天前
极狐GitLab 账号限制有哪些?
运维·ssh·gitlab·github·极狐gitlab
半个脑袋儿2 天前
Git提交修正的核心技巧:git commit --amend 的专业实践与深度解析
git·gitlab
极小狐4 天前
极狐GitLab 外部流水线验证功能解读
运维·ssh·gitlab·极狐gitlab
极小狐4 天前
极狐GitLab 功能标志详解
linux·运维·服务器·elasticsearch·gitlab·极狐gitlab
极小狐4 天前
在极狐GitLab 身份验证中如何使用 JWT?
gitlab·devsecops·devops·mcp