Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push fail

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push failed:Could not read from remote repository解决办法


一、问题描述:

今天在开发时,想弄个测试项目到github上,已在idea中登录lgithub

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push fail_第1张图片


但遇到了如下错误:

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push failed:Could not read from remote repository


二、解决办法:

1.在Settring -> VersionControl ->GitHub中去掉:“Clone git repositories using ssh”

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push fail_第2张图片

2.在github上删除该项目

3.在项目上点击右键,选择git -> repository -> remotes,

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push fail_第3张图片


在弹出的对话框中选中刚刚分享失败的地址,删除它

Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push fail_第4张图片


4.重新再分享一次就可以了!


希望能帮到遇到此错误的同学


本文参考:http://blog.csdn.net/guyuealian/article/details/51558560


你可能感兴趣的:(java技术)