当git clone报以下错误时,说明git本地存储的用户信息失效

could not read Username for 'http://xxx.com': Device not configured

解决方案:

1、在git地址上添加用户名密码,修改后的git地址为

git clone http://用户名:密码@host:/path/to/repository

2、当clone的地址提示bad url或不识别时,需要注意用户名、密码中是否包含特殊字符

!    #    $     &    '    (    )    *    +    ,    /    :    ;    =    ?    @    [    ]
%21  %23  %24   %26  %27  %28  %29  %2A  %2B  %2C  %2F  %3A  %3B  %3D  %3F  %40  %5B  %5D

3、修改以后的git地址变化如下

// 原始git地址
git clone http://abc@d:123456@host:/path/to/repository
// 编码后的git地址
git clone http://abc%40d:123456@host:/path/to/repository

4、参考相关在线文档:https://blog.csdn.net/promising_Li/article/details/127382676

git clone报错:could not read Username for ‘http://xxx.com‘: Device not configured相关推荐

  1. git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...

    原文:git clone报错:Permission denied (publickey). fatal: Could not read from remote repository- 今天clone一 ...

  2. 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect

    [git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...

  3. 【实习小tip】elementUI表格数值加减和实时计算、导出数据并解决手机号科学计数法格式问题、git clone报错:OpenSSL SSL_connect: SSL_ERROR_SYSCALL

    element表格数值加减和实时计算 实现效果: 代码: <el-table :data="voListForm" border show-summary :summary- ...

  4. git clone报错:repository ‘xxxxxxxxx’does not exist

    git clone时报错: [root@test01 test]git clone root@192.168.1.38/home/git/solo.git fatal: repository 'roo ...

  5. git clone 报错 Clone failed: Authentication failed for

    为什么80%的码农都做不了架构师?>>>    新装了系统,git和phpstorm的配置全都没有了,重新安装了git和phpstorm 系统:windows10 代码托管平台:阿里 ...

  6. git clone 报错:error: RPC failed; curl 18 transfer closed with outstanding read

    欢迎移步我的个人博客 git clone 时候报错如下 error: RPC failed; curl 18 transfer closed with outstanding read data re ...

  7. 在git clone报错

    在阿里云新买了一台服务器,用的原正常运行的系统做的镜像文件,但在拉代码的时候提示如下报错: [root@ap001 ]# git clone git@192.168.1.24:java/psd.git ...

  8. git clone 报错:fatal: unable to access ‘https://github.com/xxxxxxxxx/xxx.git/‘: gnutls_

    完整报错:fatal: unable to access 'https://github.com/xxxxxxx/xxxx.git/': gnutls_handshake() failed: The ...

  9. 【Linux】git clone报错fatal: unable to access ‘https://github.com/xxx.git/‘: Encountered end of file

    目录 1.问题 2.解决 3.参考 1.问题 git clone代码时突然报错...貌似时不时遇到这个问题,这次遇到了准备简单mark下 git clone https://github.com/xx ...

最新文章

  1. c++主线程等待子线程结束_简单明了的 Python 多线程来了 | 原力计划
  2. python获取文件路径
  3. 多线程pthread_join()的作用
  4. 1.17 StringBuffer类详解
  5. java-基础-ArrayList剖析
  6. idea在分屏拖不回来_朋友圈赏花晒照新玩法,宫格分屏视频!
  7. COJ1196(Staginner 去爬山)
  8. 图文详解什么是OAuth2
  9. 第二章:在HTML中使用JavaScript
  10. 阿里云计算新增ODPS、SLS两款云产品
  11. Rust : chrono库,DateTime、FixedOffset等
  12. DSP28335 CAN模块详解
  13. jquery.nicescroll参数说明
  14. 凌晨半夜短信通道异常,乙方如何答复?
  15. matlab求两向量夹角_MATLAB图形的标注与修饰
  16. 【话题:工作生活】2021年工作总结--这些人,那些事。
  17. 两台计算机互相共享一个网络,两台电脑共用一个路由器上网,但两台电脑不能互相访问共享,怎样设置啊?两台电脑系统都XP的...
  18. 调制深度(modulation depth)是什么?
  19. 归并排序,快速排序为什么快
  20. 使用远程工具远程连接linux(xshell,xftp,xmanager,xrdp)

热门文章

  1. 前端实现旗帜飘动效果系列 (Ⅰ):dom+css实现
  2. Jenkins构建项目时构建成功但不部署到tomcat的webapps下(Build step ‘Deploy war/ear to a container‘ marked build as fai)
  3. 计算机硬件科研cpu飞腾,电脑硬件飞腾cpu什么架构
  4. python学习笔记(二十九)网络通信之模仿qq的在线聊天工具
  5. 计算机无法ghost安装系统安装系统安装,详细教您重装Ghost系统错误怎么办
  6. java线程中yield()和join()的区别
  7. BT源代码学习心得(十五):客户端源代码分析(下载过程中的块选取策略)
  8. C语言三个数相乘怎么写,编程怎么写乘法
  9. android 九宫格 拉伸,CAScale9ImageView(九宫格图片拉伸)
  10. OA系统--用户登录