gitlab fatal: could not read Username for : Device not configured
之前在拉公司代码的时候,不小心把项目链接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相关推荐
- MacOS(四)——苹果系统Mac系统Sourcetree问题之could not read Username for Device not configured
准备在自己的mac拉公司内网的代码下来看,http协议,好久没用mac上的Sourcetree拉代码,输入正确的密码, 出现了fatal: could not read Username for 'h ...
- [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 造 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 【AS git 报错 Device not configured】
mac 在密钥管理里面删除了android studio 保存的git 账号密码是会报入下错误 解决办法:git设置中勾选 Use credential helper,就解决了 Invocation ...
- git fatal: could not read Username for ‘http://xxx.xxx.xxx‘: No such device or address
写了个 脚本自动pull 远程代码 跑的时候踩了个坑 解决方案:修改url 打开.git文件夹下面的config配置文件 https://{username}:{password}@{git仓库地址 ...
最新文章
- 如何保护你写的 Python 代码?
- python比较日期大小_Python日期的处理——datetime模块
- 【转】什么是 Azure 资源管理器
- [MySQL 5.6] MySQL 5.6 group commit 性能测试及内部实现流程
- 《Android UI基础教程》——1.4节工具
- js密码强度正则表达式_相信我,这20个正则表达式,能让你少写1000多行代码,建议收藏...
- 浅谈JSP编程的网店管理系统构造
- aliddns ipv6_利用阿里云ddns动态解析ipv6地址
- 解决octavia failed to run
- 汽车软件开发相关词汇
- 地理围栏 | EXCEL表格中分析轨迹坐标是否在设定的围栏范围内
- 【文智背后的奥秘】系列篇——结构化抽取平台
- EDM邮件营销推广方法分享
- 动态规划(01背包问题)
- HorNet+YOLOv5改进方案
- php gps定位范围算法,基本的GPS卫星定位算法
- 数据分析:单元1 NumPy库入门
- C#用Replace把字符替换成空
- date_format的使用:将“秒”转换为yyyy-mm-dd
- AD自动布地孔和不需要阻焊层