VScode卸载重装后GitLab克隆报错问题

gitlab克隆报错:remote: HTTP Basic: Access denied;remote: You must use a personal access .....

错误:
remote: HTTP Basic: Access denied
remote: You must use a personal access token with ‘api’ scope for Git over HTTP.
remote: You can generate one at https://github.com/profile/personal_access_tokens

错误原因:

You must use a personal access token with ‘api’ scope for Git over HTTP.   

即: 没有为GitLab设置以"api"为权限范围的token(可以理解为令牌)

上问题如何解决?

  可以通过设置gitlab的个人令牌来解决

第一步:点击setting

第二步:选择Access Tokens

第三步:创建token(令牌)

第四步:保存好秘钥

第五步:clone项目

  •   账号就是你的gitlab账号
  •   密码是令牌秘钥(第四步的秘钥)

原文地址:https://www.cnblogs.com/tt-ff/p/12073087.html

时间: 2024-08-09 21:58:01

VScode卸载重装后GitLab克隆报错问题的相关文章

升级mac系统后,brew报错,重装homebrew

升级mac系统后,brew报错brew updateError: Running Homebrew as root is extremely dangerous and no longer supported.As Homebrew does not drop privileges on installation you would be giving allbuild scripts full access to your system. 直接重新安装一个新版本brew即可:mkdir hom

安装pytest-allure-adaptor后,运行报错:AttributeError: module 'pytest' has no attribute 'allure'

原因:因为pytest-allure-adaptor库基本被python3放弃了,运行很不友好,反正我运行就是报错 解决方法: 先卸载:pip uninstall pytest-allure-adaptor 再安装:pip allure-pytest 然后再去对应case的文件夹下面cmd里面运行: pytest -s -q --alluredir  report  (可以改为你想设的路径,如果是report默认当前目录下),就会生成report文件夹了 安装pytest-allure-adap

C#开发之问题汇总-降低NetFramework版本后,没有报错,生成失败

问题:-降低NetFramework版本后,没有报错,生成失败 原因:由于引用的dll与NET Framework版本不一致,导致,没有报错,但是生成失败 视图->输出,中能看到具体出错如下: 4>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3275: 未能解析主引用"D:\workspace\练习\ServerManager_E

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

kettle界面语言修改成中文后,重启报错

今天在设置kettle的界面时,想看看中文是什么样子的,于是就把如图的地方都改成了中文 重启后,kettle启不来了一直报错 java.lang.ArrayIndexOutOfBoundsException: 5 at org.pentaho.di.ui.spoon.dialog.TipsDialog.getTip(TipsDialog.java:191) at org.pentaho.di.ui.spoon.dialog.TipsDialog.<init>(TipsDialog.java:7

Android点滴---drawable粘贴图片后 R文件报错,解决

今天往项目中粘贴使用图片时, 刚把图片粘贴到 Drawable 文件中, 就报错了, 看了错误提示发现是我起文件名时粗心, 写了一个大写字母! 如果你是这种情况, 检查文件名, 文件名中只能包含,a-z,0-9和 _ 其他字符都不可以! 而我把字母改为小写后后,还是报错, 我看了半天也没找到其他大写字母! 最后发现是在文件名的最后多写了一个  空格! 空格!空格! 记录一把, 如果大家发现自己文件名都没大写和其他字符,看一下是否有空格吧! 自己坑了自己一把!

Tomcat启动后访问首页报错 显示JSP 空指针异常

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.NullPointerException org.apache.jasper.serv

mac系统中搭建apache+mysql+php的开发环境,安装mysql后,登录报错:mac ERROR 1045 (28000): Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: NO)

php新手在mac系统中搭建apache+mysql+php的开发环境(按照这篇博客来操作的:http://my.oschina.net/joanfen/blog/171109?fromerr=xvCsafCe),在安装配置mysql完毕后,登录mysql,报错:mac ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO),折腾很久,终于解决,随手记录下,备忘. 解决方法: 第一步:如

解决Ubuntu(Linux)平台下Sublime Text 3 安装中文输入支持库后 开启gnome-tterminal报错的问题

在Ubuntu下安装Sublim Text3后发现无法输入中文,按照此链接的方法解决后.然后用下列代码配置C++的编译系统: { "cmd":["g++","${file}","-o","${file_path}/${file_base_name}"], "file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:?(.*)$", &qu