首页 > Web开发 > 详细

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

时间:2016-09-05 16:47:21      阅读:1101      评论:0      收藏:0      [点我收藏+]

解决办法:

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

in 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

原文:http://www.cnblogs.com/zhuiluoyu/p/5842628.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!