pycharm中提示:repository test faild could not read from remote repository

pycharm连接github后checkout 项目时报错:repository test faild could not read from remote repository 

还搜了好多篇博客,好像和我想得都不一样,我得问题有点low,不过可以总体总结一下。

可能解决方法一:在Settings->Version Control->Git中,将SSH executable设置为Native即可

可能解决方法二:“SSH executable” 设置了 Native 还是没用,

试试在生产公私密钥的时候不要输入密码,idea默认读取的是没有密码的密钥

可能解决方法三:最蠢得解决方法,也是是因为我蠢,用https的链接就可以了。

先去github里面Clone or download → User HTTPS → 复制

再checkout,就成功了。

 

使用git设置邮箱时报错:Bad escape character 'ygen'.

出现如上图的提示是因为语句错误了,是因为多了空格,正确语句如下:

$ ssh-keygen -t rsa -C"xxx@qq.com"

原因:ssh与-keygen之间出现了空格!

posted @ 2019-04-13 00:21  咸鱼也是有梦想的  阅读(2437)  评论(0编辑  收藏  举报