git with IntelliJ IDEA: Could not read from remote repository

前端 未结 30 2181
夕颜
夕颜 2020-12-07 08:11

Since a few weeks, I\'m not able to pull or push from or to the remote repository. I thought it happend when upgrading to IntelliJ IDEA 14, but I can reproduce the problem w

30条回答
  •  春和景丽
    2020-12-07 08:22

    I've resolved this by adding my SSH private key to the ssh-agent in the command:

    $ ssh-add -K ~/.ssh/id_rsa
    

    And setting Settings --> Version Control --> Git, and then, in the SSH executable dropdown, choose Native

提交回复
热议问题