Git setting (http/ssh) method in idea

Recently, the git function on IDEA has been used to commit but cannot push and pull. The test found that the reason was Could not read from remote repository, and a solution was found on Stack Overflow.

In Settings->Version Control->Git, set the SSH executable to Native, as shown in the figure, the red box is the place to be modified. 
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324908397&siteId=291194637