之前在拉公司代码的时候,不小心把项目链接copy成http的链接了,在提交代码的时候,总是包下面这个错误:

fatal: could not read Username for http:XXXXXXX: Device not configured。

大致意思就是说,http:XXXX这个服务器不能找到git设置的这个用户,为什么回这杨呢,查了很多资料,大概意思就是说,ssh权限的问题,要把http 方式改成ssh,要改这个 最暴利的方式就是改本项目的.git目录下的config 配置文件啦。

把remote 下的URL换成本项目的ssh链接就好了。

网上提供了很多方法,大家可以试一下。

gitlab fatal: could not read Username for : Device not configured相关推荐

  1. MacOS(四)——苹果系统Mac系统Sourcetree问题之could not read Username for Device not configured

    准备在自己的mac拉公司内网的代码下来看,http协议,好久没用mac上的Sourcetree拉代码,输入正确的密码, 出现了fatal: could not read Username for 'h ...

  2. [Gitlab CI/CD] fatal: could not read Username for ‘xxx‘: No such device or address

    背景 在Gitlab Runner中拉取代码报错. 报错信息 fatal: could not read Username for 'xxx': No such device or address 造 ...

  3. AndroidStudio中push代码到gitlab报fatal: could not read Username for ‘https://gitlab.com‘: No such file or

    1.具体报错如下 Caused by: java.net.SocketException: Unexpected end of file from server     at java.base/su ...

  4. fatal: could not read Username for 'https://github.com': No such file or directory

    在创建git仓库时遇到问题 github提示: git init git add README.md git commit -m "first commit" git remote ...

  5. fatal: could not read Username for ‘https://git.dev.tencent.com‘ 解决方法

    fatal: could not read Username for 'https://git.dev.tencent.com' 解决方法 参考文章: (1)fatal: could not read ...

  6. git clone报错:could not read Username for ‘http://xxx.com‘: Device not configured

    当git clone报以下错误时,说明git本地存储的用户信息失效 could not read Username for 'http://xxx.com': Device not configure ...

  7. go导入包错误 Cloning into ‘xxx‘... fatal: could not read Username

    问题: go get xxx.com/xxx/xxx cd .; git clone https://xxx.com/xxx/xxx.git Cloning into 'xxx'- fatal: co ...

  8. 【AS git 报错 Device not configured】

    mac 在密钥管理里面删除了android studio 保存的git 账号密码是会报入下错误 解决办法:git设置中勾选 Use credential helper,就解决了 Invocation ...

  9. git fatal: could not read Username for ‘http://xxx.xxx.xxx‘: No such device or address

    写了个 脚本自动pull 远程代码  跑的时候踩了个坑 解决方案:修改url 打开.git文件夹下面的config配置文件 https://{username}:{password}@{git仓库地址 ...

最新文章

  1. 如何保护你写的 Python 代码?
  2. python比较日期大小_Python日期的处理——datetime模块
  3. 【转】什么是 Azure 资源管理器
  4. [MySQL 5.6] MySQL 5.6 group commit 性能测试及内部实现流程
  5. 《Android UI基础教程》——1.4节工具
  6. js密码强度正则表达式_相信我,这20个正则表达式,能让你少写1000多行代码,建议收藏...
  7. 浅谈JSP编程的网店管理系统构造
  8. aliddns ipv6_利用阿里云ddns动态解析ipv6地址
  9. 解决octavia failed to run
  10. 汽车软件开发相关词汇
  11. 地理围栏 | EXCEL表格中分析轨迹坐标是否在设定的围栏范围内
  12. 【文智背后的奥秘】系列篇——结构化抽取平台
  13. EDM邮件营销推广方法分享
  14. 动态规划(01背包问题)
  15. HorNet+YOLOv5改进方案
  16. php gps定位范围算法,基本的GPS卫星定位算法
  17. 数据分析:单元1 NumPy库入门
  18. C#用Replace把字符替换成空
  19. date_format的使用:将“秒”转换为yyyy-mm-dd
  20. AD自动布地孔和不需要阻焊层

热门文章

  1. 如何利用API实现行式报表后台导入excel数据入库
  2. AIS数据压缩-改进的DP算法(Improved DP algorithm)
  3. 比较犹太人和中国人做生意的模式
  4. Vue3组件化开发(二)
  5. 微信小程序云开发---发送邮件功能
  6. R语言——相关图的绘制
  7. 【spine】spine 简介
  8. nw.js 软件推荐:AxeSlide斧子演示:PPT的另一种可能(转)
  9. matlab怎么绘制李萨如图形_在MatLab中使用for循环绘制图形
  10. JavaCV开发详解之36:使用delogo滤镜实现去除和屏蔽视频水印