项目场景:

gitlab拉取代码失败


问题描述

git pull命令报错

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

在这里插入图片描述
在这里插入图片描述


解决方案:

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

在这里插入图片描述

Logo

一站式 AI 云服务平台

更多推荐