remote: fatal: could not read Username for 'http://spapa.wicp.net:3000': No such device ors

解决办法:

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

in my case ->
$git remote add origin https://haitao-dou:[email protected]/haitaodou/test-project.git

或者

修改.git/config文件:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = http://{username}:{password}@spapa.wicp.net:3000/unphp/sscmpweb.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

remote: fatal: could not read Username for 'http://spapa.wicp.net:3000': No such device ors

时间: 2024-10-20 09:05:34

remote: fatal: could not read Username for 'http://spapa.wicp.net:3000': No such device ors的相关文章

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}/pro

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

git报错:'fatal:remote origin already exists'怎么处理?附上git常用操作以及说明。

git添加远程库的时候有可能出现如下的错误, 怎么解决? 只要两步: 1.先删除 $ git remote rm origin 2.再次执行添加就可以了. ----------------------------------------------git常用操作------------------------------------------------ 说明,以下整理来自廖雪峰大神的<git教程>. 各位童鞋要下载git但是网速不给力的,可以从这里下载:https://pan.baidu.

git报错:&#39;fatal:remote origin already exists

git报错:'fatal:remote origin already exists'怎么处理?附上git常用操作以及说明. git添加远程库的时候有可能出现如下的错误, 怎么解决? 只要两步: 1.先删除 1 $ git remote rm origin 2.再次执行添加就可以了. ----------------------------------------------git常用操作------------------------------------------------ 说明,以下整

Changing a remote&#39;s URL

参考: https://help.github.com/articles/changing-a-remote-s-url/The git remote set-url command changes an existing remote repository URL. The git remote set-url command takes two arguments:An existing remote name. For example, origin or upstream are two

git推送报错: No path specified. See &#39;man git-pull&#39; for valid url syntax或does not appear to be a git repository以及remote: error: insufficient permission for adding an object to repository databa

本地(windows)代码想推送到linux自己搭建的git服务端,第一步是建立本地与服务端的关联,第二步是本地推送到服务端. 第一步需要看你本地工程是否从git上clone来的,如果是clone来的那就不存在第一步了.但如果是本地已经有了工程之后才想同步到git上,需要先到linux的git上新增同名git仓库并初始化.这里以ms-util工程为例: cd git mkdir ms-util.git cd ms-util.git git --bare init 接着修改用户属主和用户组属主,并

Lonsdor KH100 Remote Maker Key Programmer: Function+ Registration+ Upgrade

If you are searching for a key programmer for your car, Lonsdor KH100 will be your best choice. This post will highlight function, registration and upgrade of this Lonsdor Key Programmer. Overview: KH100 is a versatile handheld smart device, launched

上传本地文件到github

第一步:创建新的仓库 勾选Initialize this repository with a README选项,自动创建REAMDE.md文件. 第二步: $ git config --global user.name "hanyuntao" $ git config --global user.email "[email protected]" 第三步:生成ssh key 首先检查是否已生成密钥cd ~/.ssh,如果返回的ls有3个文件,则密钥已经生成. 如果没

Git安装配置及基本使用(windows)

http://www.open-open.com/lib/view/open1428900970330.html 安装git 1)windows 安装msysgit,下载地址:http://msysgit.github.io/ 安装的时候,基本选择默认设置,但是: 在Adjusting your PATH environment页,勾选Run Git from the Windows Command Prompt 2)ubuntu 用命令“git --version”查看是否已安装,且版本为1.