idea中Git设置(http/ssh)方式

最近用IDEA上的git功能出现了可以commit但无法push和pull的问题,测试发现原因是Could not read from remote repository,在Stack Overflow上发现了解决方法。

在Settings->Version Control->Git中,将SSH executable设置为Native即可,如图,红色方框中是要修改的地方。 
这里写图片描述

猜你喜欢

转载自blog.csdn.net/chen649053473/article/details/80078920