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

Git push origin master报错

fatal: could not read Username for ‘https://github.com‘: No such file or directo

原因使用https方式的时候 在git remote add origin 的https url 里面没有用户名和密码

修改为如下:

git remote add origin https://{username}:{password}@github.com/{username}/project.git

https://github.com/kemayo/sublime-text-git/issues/176

或者直接修改 .git/config 隐藏文件 为git remote add origin https://{username}:{password}@github.com/{username}/project.git 格式

例子:https://sandea_98:123***@github.com/sandea/test.git

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

时间: 2024-10-28 22:00:24

fatal: could not read Username for 'https://github.com': No such file or directo的相关文章

could not read Username for 'https://github.com': No error

用idea往github上push代码的时候,突然的不能用了. 报could not read Username for 'https://github.com': No error错误. 原因不明. 解决 1.进入项目目录 2.进入 .git 目录 3.修改.git/config 文件 把github的账号密码直接写死在url中 之后,问题解决. could not read Username for 'https://github.com': No error 原文地址:https://ww

go get fatal: could not read Username for 'https://code.byted.org': terminal prompts disabled

用go get下载私有代码库的时候,莫名其妙产生了以下错误,公有代码库没有影响. chenchideMacBook-Pro:~ chenchi$ go get code.byted.org/adarch/kitedemo # cd .; git clone https://code.byted.org/adarch/kitedemo.git /Users/chenchi/go/src/code.byted.org/adarch/kitedemo Cloning into '/Users/chen

Github错误:fatal: Authentication failed for 'https://github.com/ ...

GitHub push代码发生错误:fatal: Authentication failed for 'https://github.com/ ... 使用的https提交,在用SourceTree提交代码时候发生错误,返回的错误提示说: fatal: Authentication failed for 'https://github.com/ ... 如图所示: 解决方案,重新执行git config命令配置用户名和邮箱即可: git config -–global user.name "xx

git同步遇到报错“fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version." 网上很多人说是因为git版本需要升级.我将git版本升级到最新, [[email protected] tp5test]# git --version git version 2.16.2 问题却依然存在. 最后: y

git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version." 解决办法: yum update -y nss curl libcurl 问题解决了. git同步遇到报错"fatal: unable to access 'https://github.com/liz

fatal: unable to access 'https://github.com/open-falcon/falcon-plus.git/': Peer reports incompatible or unsupported protocol version

git通过git clone下载github上的资源到机器上,结果出现如题所示的错误. [plain] view plain copy [[email protected] data]# git clone https://github.com/pingcap/tidb-docker-compose.git Cloning into 'tidb-docker-compose'... fatal: unable to access 'https://github.com/pingcap/tidb-

git——解决“fatal: Authentication failed for 'https://github.com/balabala”

平复一下心情,到底如何在github上将队友和owner的仓库连接?如何push代码到远程仓库???找了巨多教程,终于解决了~ 刚到公司不久,开始学着用git,在提交代码的时候怎么都提不上去! 解决办法: 1.owner需要在github上创建一个组织:Create an organization,在这里邀请成员 2.在该组织下创建一个team,然后邀请你的团队成员 3.新建一个repository 4.队友需要在自己的电脑里生成一个ssh key.关于如何生成ssh key : https:/

GitHub Desktop报错fatal: unable to access 'https://github.com……: schannel: failed to open CA file 'C:/Users……bundle.crt': No such file or directory的解决办法

昨天github桌面版push的时候开始报错,提示某个crt文件找不到,大概就是下面这样 fatal: unable to access 'https://github.com/XXX/': schannel: failed to open CA file 'C:/Users/Andrew/AppData/Local/GitHubDesktop/app-1.2.2/resources/app/git/mingw64/bin/curl-ca-bundle.crt': No such file or

(转)git clone出现 fatal: unable to access 'https://github.com/...'的解决办法

如下图所示,当我Git克隆别人的repo时,会发生这样的错误.发现它尝试用http和https代理,后来仔细回想了下,原来是自己用了代理,忘记取消 # 查看当前git 的设置 git config --global -l # 设置代理 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 http://也可以改成sockets5://,但