首页 > 代码库 > remote: fatal: could not read Username for 'http://spapa.wicp.net:3000': No such device ors
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.gitin my case ->$git remote add origin https://haitao-dou:mypassword@github.com/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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。