fatal: could not read Username for 'https://github.com': No such file or directory
来源:互联网 发布:it's skin 编辑:程序博客网 时间:2024/06/06 02:46
在创建git仓库时遇到问题
github提示:
git init
git add README.md
git commit -m “first commit”
git remote add origin https://github.com/caihuijian/pro_designpattern.git
git push -u origin master
在执行
git push -u origin master
出错:
fatal: could not read Username for ‘https://github.com‘: No such file or directory
百度了,貌似是某些版本的git bash的bug
修正分支为
git remote set-url origin git@github.com:caihuijian/pro_designpattern.git
继续执行
git push -u origin master
即可
注意替换自己的版本库地址
0 0
- fatal: could not read Username for 'https://github.com': No such file or directory
- GitHub错误处理:fatal:could not read Username for 'https://github.com': No such file or directory
- fatal: could not read Username for 'https://github.com': No such file or directo
- fatal: could not read Password for 'https:/username@bitbucket.org': No such file or directory
- could-not-read-Username-for-https-github-com-Invalid-argument
- 解决FATAL: Could not open 'kernel/arch/mips/oprofile/oprofile.ko': No such file or directory
- fatal: Could not jump back into original cwd: No such file or directory
- FATAL: could not load /lib/modules/2.6.XXX/modules.dep No such file or directory
- mysql could not read contents of failed to open no such file or directory
- https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory报错解决方案
- Could not launch app - No such file or directory Error
- Could not stat /dev/sda4 --- No such file or directory
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- GitHub could not read Username
- httpd: Could not open configuration file /xxx/conf/httpd.conf: No such file or directory
- Could not open file ..\output\core_cm3.o: No such file or directory
- Ubuntu14 Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
- 除法取模 逆元 费马小定理
- fzu-神龙的难题 舞蹈链之可重复覆盖
- 如何收集 NGINX 指标(第二篇)
- 剑指offer 序列化二叉树
- android 之视频添加 VideoView
- fatal: could not read Username for 'https://github.com': No such file or directory
- Linux驱动基础:三星平台Linux SPI驱动
- 66.android布局-Fragment
- 如何使用 Datadog 监控 NGINX(第三篇)
- 数据挖掘中所需的概率论与数理统计知识
- Alsa音频子系统Codec---al5623.c内核代码框架分析
- Linux SPI总线和设备驱动架构之一:系统概述
- Ansible之 Inventory 资源清单介绍
- (Leetcode)Max Consecutive Ones --- 寻找最长连接数