Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t使用IntelliJ Idea和ssh从GIT克隆/推送_Git_Intellij Idea - Fatal编程技术网

Can';t使用IntelliJ Idea和ssh从GIT克隆/推送

Can';t使用IntelliJ Idea和ssh从GIT克隆/推送,git,intellij-idea,Git,Intellij Idea,我试图使用IntelliJ Idea克隆GIT存储库,但遇到错误。 它说: 如果我从第二行复制git命令并在gitbash中执行它,它将正确克隆存储库,并且所有操作都可以从CLI(包括commit和push)进行。 我试图在IDEA中打开克隆项目并从那里提交,但它再次抛出上面的错误 我使用Idea SSH客户端使用WIN 7。您是否向git提供了一些已缓存的登录凭据?Intellij可能正在使用自己的git实现下载我使用ssh密钥作为凭据。显然,Intellij IDEA当时没有使用您的ssh密

我试图使用IntelliJ Idea克隆GIT存储库,但遇到错误。 它说:

如果我从第二行复制git命令并在gitbash中执行它,它将正确克隆存储库,并且所有操作都可以从CLI(包括commit和push)进行。 我试图在IDEA中打开克隆项目并从那里提交,但它再次抛出上面的错误


我使用Idea SSH客户端使用WIN 7。

您是否向git提供了一些已缓存的登录凭据?Intellij可能正在使用自己的git实现下载我使用ssh密钥作为凭据。显然,Intellij IDEA当时没有使用您的ssh密钥。您应该尝试找出是否可以在IDE中的某个位置配置密钥位置。
21:28:57.558: cd C:\Users\myUser\Documents\IdeaProjects
21:28:57.559: git clone --progress git@git.xxx.com:qa-automation/selenium.git selenium
Cloning into 'selenium'...
fatal: 'qa-automation/selenium.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.