IntelliJ IDEA 从GitHub导入项目出错

IntelliJ IDEA log提示如下:

9:37    Clone failed
        Warning: Permanently added 'github.com,13.229.188.59' (RSA) to the list of known hosts.
        [email protected]: Permission denied (publickey).
        Could not read from remote repository.
        Please make sure you have the correct access rights
        and the repository exists.

这是因为我IntelliJ IDEA 中导入新项目的方式不对

 File -->New--> Project From Version Control -->Git --> Clone Repository

此处应该粘贴项目的HTTPS地址,不是ssh地址

GitHub

猜你喜欢

转载自blog.csdn.net/A_stranger/article/details/86062483