Rails - Heroku - Git - Problems connecting to the repo with os x 10.6.5

I am trying to clone a git repo to my local using terminal runnin OS X 10.6.5 and it seems that I get an error when I do this: "git clone git @ heroku.com: APPNAME.git / my / path" . It says: "Reading from the socket failed: reset connection on peers." I created a key and that’s it, it’s just a connection and reading problem.

I was looking for this problem and it seems like I'm behind a firewall that is stopping me from dragging the repo. I tried to get the repo using the HTTPS method, but I don’t think I get the URL correctly because it gives me "fatal: HTTP request failed" when I try "git clone https://git.heroku.com /APPNAME.git ". I'm not sure if this is the correct URL, or the hero even supports HTTPS.

I sent a ticket to the hero, so I'm waiting for this too. If someone knows how to get a repo with the https method from geroku, I would really appreciate it.

Thanks!

+4
source share
1 answer

The git url for your app is available on my apps page in the console console of the Heroku website.

I'm also sure that the git clone works through SSH, which is named 'secure'

0
source

Source: https://habr.com/ru/post/1342884/


All Articles