Git for windows 7 无法从 github 克隆 repo

Git for windows 7 failing to clone the repo from github

我有 git 存储库 https://github.com/jcubic/jquery.terminal 我正在使用 linux box (Xubuntu) 使用它,它工作正常但是当我尝试使用 [=19 克隆它时=] 7 git bash 我得到这个错误:

jankiewj@RWAMW35281 MINGW64 /c/docs $ git clone
https://github.com/jcubic/jquery.terminal.git Cloning into
'jquery.terminal'... fatal: I don't handle protocol 'https'

jankiewj@RWAMW35281 MINGW64 /c/docs $ git clone
git@github.com:jcubic/jquery.terminal.git Cloning into
'jquery.terminal'... The authenticity of host 'github.com
(192.30.252.130)' can't be established. RSA key fingerprint is
SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you
want to continue connecting (yes/no)? yes Warning: Permanently added
'github.com,192.30.252.130' (RSA) to the list of known hosts.
Permission denied (publickey). fatal: Could not read from remote
repository.

Please make sure you have the correct access rights and the repository
exists.

jankiewj@RWAMW35281 MINGW64 /c/docs

有没有办法使用 https 克隆我不想将 ssh 密钥从 windows 框添加到 GitHub。

关于https,检查是否有奇怪的字符,

我刚刚输入:

git clone https://github.com/jcubic/jquery.terminal

效果很好。

对于 ssh,您确实需要将 public 密钥添加到您的 GitHub 帐户,并检查 echo $HOME 的值。