Rails - Heroku - Git - 使用 os x 10.6.5 连接到存储库时出现问题
我正在尝试使用在 OS X 10.6.5 中运行的终端将 git repo 克隆到本地,当我这样做时,似乎出现连接错误:“git clone [电子邮件受保护]:APPNAME.git /my/path"。它说“从套接字读取失败:连接被对等方重置”。我已经创建了一把钥匙和一切,这只是连接和读取的问题。
我已经搜索过这个问题,看来我可能位于防火墙后面,阻止我提取存储库。我尝试使用 HTTPS 方法获取存储库,但我认为我没有正确获取 URL,因为当我尝试“git clone https://git.heroku.com/APPNAME.git"。我不确定这是否是正确的 URL 或者 heroku 是否支持 HTTPS。
我已经向heroku提交了一张票,所以我也在等待。如果有人知道如何使用 https 方法从 heroku 获取存储库,我将不胜感激。
谢谢!
I am trying to clone git repo to my local with terminal runnin OS X 10.6.5 and it seems like I am getting a connection error when I do: "git clone [email protected]:APPNAME.git /my/path". It says "Read from socket failed: connection reset by peer". I have created a key and everything, it's just a problem with connecting and reading.
I have searched about this problem and it appears that it is possible that I am behind a firewall that is preventing me from pulling up the repo. I have tried to get the repo using the HTTPS method instead but I don't think I am getting the URL right because it gives me "fatal: HTTP request failed" when I try "git clone https://git.heroku.com/APPNAME.git". I am not sure if that is the right URL or if heroku even supports HTTPS.
I have submitted a ticket to heroku so I am waiting on that as well. If anyone knows how to get the repo with https method from heroku I would greatly appreciate it.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的应用程序的 git URL 可从 Heroku 网站控制台中的我的应用程序页面获取。
我也很确定 git clone 通过 SSH 运行,从它的名字来看,它是“安全的”
the git URL for your app is available from the my apps page in the Heroku website console.
Also I'm pretty sure that git clone runs over SSH which by it's name is 'secure'