【发布时间】:2016-08-24 20:19:55
【问题描述】:
我有 git repo https://github.com/jcubic/jquery.terminal 我正在使用 linux box (Xubuntu) 使用它,它工作正常,但是当我尝试使用 Windows 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。
【问题讨论】:
-
我很确定 git for Windows 的最新版本可以处理这个问题。你用的是哪个版本?
-
@Philippe 2.6.3.windows.1
标签: git github windows-7 git-bash