您的位置:首页 > 其它

git remote add origin 报错connect to host gitub.com port 22: Connection refused fatal: Could not read

2018-03-03 15:53 706 查看
执行命令
git config --local -e
修改文件
将url = git@github.com:username/repo.git改为url = https://github.com/username/repo.git(此地址由github网站上点击ssh生成的)然后保存,再次执行 发现可以了,我想应该有不少windows下面的git用户遇到此问题吧,希望能帮助大家。转载:http://blog.csdn.net/loveuserzzz/article/details/51777631
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git
相关文章推荐