网站开发的安全策略,电商网站前台模块,15年做啥网站致富,国内餐饮类网站欣赏为什么80%的码农都做不了架构师#xff1f; 今天想用gitosc push下测试下自己能否正常使用gitosc的git仓库的#xff0c;公钥SSH 已经加好。 ssh -T gitgit.oschina.net 测试正常。 结果报错could not read Username for https://git.oschina.net: No such fi… 为什么80%的码农都做不了架构师 今天想用gitosc push下测试下自己能否正常使用gitosc的git仓库的公钥SSH 已经加好。 ssh -T gitgit.oschina.net 测试正常。 结果报错could not read Username for https://git.oschina.net: No such file or directory, 然后又用了github账号试了下还是提示这个could not read Username for https://github.com: No such file or directory,这就纳闷了之前用的好好的github突然不行了。 网上搜了下发现可能是git版本的原因我的版本Git-1.8.5.2-preview20131230 突然想起来之前查过这个记性不好还是写下来吧。 解决方法 git remote rm origingit remote add origin gitgithub.com:username/repo.git 成功上传。 以此备忘而已。 转载于:https://my.oschina.net/jm2020/blog/362994