草庐IT

clone_structure

全部标签

git clone "fatal: I don' t handle protocol 'ssh' "

我已经在我的本地机器上创建了一个存储库,并请一位同事克隆它,但它说它无法处理SSH协议(protocol)。在我的计算机中,存储库位于/devel/scripts.git,并且有一个名为devel的用户可以访问该文件夹。另一个人可以正常克隆它,使用gitclonessh://devel@192.168.0.7/devel/scripts.git。我们都在使用Ubuntu,我和有问题的机器是12.04(我可以使用与远程相同的URL从另一个文件夹推送)而另一个人使用的是13.04。最后,出现问题的机器可以通过SSH正常访问该用户。 最佳答案

git clone "fatal: I don' t handle protocol 'ssh' "

我已经在我的本地机器上创建了一个存储库,并请一位同事克隆它,但它说它无法处理SSH协议(protocol)。在我的计算机中,存储库位于/devel/scripts.git,并且有一个名为devel的用户可以访问该文件夹。另一个人可以正常克隆它,使用gitclonessh://devel@192.168.0.7/devel/scripts.git。我们都在使用Ubuntu,我和有问题的机器是12.04(我可以使用与远程相同的URL从另一个文件夹推送)而另一个人使用的是13.04。最后,出现问题的机器可以通过SSH正常访问该用户。 最佳答案

git - Ansible git clone 'Permission Denied' 但直接 git clone 工作

我在使用Ansible时遇到了一个麻烦的问题。我使用当前主机的sshkey在我的环境中设置了一个git克隆:-name:AdduserPublicKeycopy:src:"/Users/alexgrs/.ssh/id_rsa.pub"dest:"/home/vagrant/.ssh/id_rsa.pub"mode:0644-name:AdduserPrivateKeycopy:src:"/Users/alexgrs/.ssh/id_rsa"dest:"/home/vagrant/.ssh/id_rsa"mode:0600-name:CloneRepositorygit:repo:rep

git - Ansible git clone 'Permission Denied' 但直接 git clone 工作

我在使用Ansible时遇到了一个麻烦的问题。我使用当前主机的sshkey在我的环境中设置了一个git克隆:-name:AdduserPublicKeycopy:src:"/Users/alexgrs/.ssh/id_rsa.pub"dest:"/home/vagrant/.ssh/id_rsa.pub"mode:0644-name:AdduserPrivateKeycopy:src:"/Users/alexgrs/.ssh/id_rsa"dest:"/home/vagrant/.ssh/id_rsa"mode:0600-name:CloneRepositorygit:repo:rep

git - 尝试 heroku git :clone after heroku fork yields an empty repository

我刚刚跑了:$herokufork-aoldappnewclonedapp它工作正常并运行等。现在我想pull下代码来处理它[我意识到heroku不是用于版本控制的,我通常为此使用github但在这种情况下我需要从克隆中获取代码]并且当我尝试时:$herokugit:clone-anewclonedapp我得到:warningyouhaveappearedtohaveclonedanemptydirectory并且新的newclonedapp目录确实是空的。我做错了什么? 最佳答案 你没有做错任何事,这是一个knownissueof

git - 尝试 heroku git :clone after heroku fork yields an empty repository

我刚刚跑了:$herokufork-aoldappnewclonedapp它工作正常并运行等。现在我想pull下代码来处理它[我意识到heroku不是用于版本控制的,我通常为此使用github但在这种情况下我需要从克隆中获取代码]并且当我尝试时:$herokugit:clone-anewclonedapp我得到:warningyouhaveappearedtohaveclonedanemptydirectory并且新的newclonedapp目录确实是空的。我做错了什么? 最佳答案 你没有做错任何事,这是一个knownissueof

Git Clone 在 OS X Yosemite 上因 sslRead() 错误而失败

我目前使用的是OSXYosemite10.10.3,并尝试gitclone一个在Windows上运行良好的现有存储库。我尝试了通过自制软件和curl/openssl安装git的组合,但没有成功。当我运行gitclone时,出现以下ssl读取错误:GIT_CURL_VERBOSE=1gitclonehttp://myURL/gitlab/project/project.git>remote:Countingobjects:1641,done.remote:Compressingobjects:>100%(1588/1588),done.>*SSLRead()returnerror-980

Git Clone 在 OS X Yosemite 上因 sslRead() 错误而失败

我目前使用的是OSXYosemite10.10.3,并尝试gitclone一个在Windows上运行良好的现有存储库。我尝试了通过自制软件和curl/openssl安装git的组合,但没有成功。当我运行gitclone时,出现以下ssl读取错误:GIT_CURL_VERBOSE=1gitclonehttp://myURL/gitlab/project/project.git>remote:Countingobjects:1641,done.remote:Compressingobjects:>100%(1588/1588),done.>*SSLRead()returnerror-980

git clone无响应或timeout ,或者速度慢?

gitclone时报:Failedtoconnecttogithub.comport443:Timedout或者OpenSSLSSL_read:Connectionwasreset,errno10054以及下载速度慢的问题可以参考以下做法。**方法1:**报上述错误时,输入以下语句:gitconfig--globalhttp.sslVerify"false"然后重新尝试输入git语句。方法2:(推荐)在原地址前加https://ghproxy.com,如下所示:gitclonehttps://ghproxy.com/https://github.com/tensorflow/tensorflo

windows - 错误 : cannot run ssh: No such file or directory when trying to clone on windows

我正在尝试在Windows上克隆一个远程存储库,但是当我这样做时:gitclonegit@github.com:organization/xxx.git我遇到了这个错误:error:cannotrunssh:Nosuchfileordirectoryfatal:unabletofork我错过了什么吗? 最佳答案 检查您是否安装了ssh-client。这解决了docker机器上的问题,即使存在sshkey也是如此:apt-getinstallopenssh-client 关于windows