git with IntelliJ IDEA: Could not read from remote repository

前端 未结 30 2280
夕颜
夕颜 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:43

    1. Go to Settings->Git->Select Native in SSH executable dropdown. (If it is not selected)
    2. Copy HTTPS link from your Github repository.
    3. Go to VCS->Git->Remotes..
    4. Edit the origin and Paste HTTPS link in the URL field.
    5. Press Ctrl+Shift+k and push the project to repository. It works.

提交回复
热议问题