最近用IDEA上的git功能出現(xiàn)了可以commit但無法push和pull的問題辐烂,測試發(fā)現(xiàn)原因是Could not read from remote repository,在Stack Overflow上發(fā)現(xiàn)了解決方法捂贿。
在Settings->Version Control->Git中纠修,將SSH executable設置為Native即可,如圖眷蜓,紅色方框中是要修改的地方分瘾。?
設置git ssh
最近用IDEA上的git功能出現(xiàn)了可以commit但無法push和pull的問題辐烂,測試發(fā)現(xiàn)原因是Could not read from remote repository,在Stack Overflow上發(fā)現(xiàn)了解決方法捂贿。
在Settings->Version Control->Git中纠修,將SSH executable設置為Native即可,如圖眷蜓,紅色方框中是要修改的地方分瘾。?