Reputation: 113
I try to clone one project from heroku, while I run into several issues, help me, thanks very much.
Firstly, I try
$ heroku git:clone myapp && git clone [email protected]:myapp.git
both outputs following messages
Cloning from app 'myapp'... Cloning into myapp...
So, I am using one ssh config file
Host heroku.com Hostname heroku.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa
Then using the same command
$ heroku git:clone myapp && git clone [email protected]:myapp.git
both with new output messages
Cloning from app 'myapp'... Cloning into myapp... ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository.
I am collaborator of the project and I have added the public key into my account, and I have installed heroku-toolbelt.
Upvotes: 2
Views: 1075
Reputation: 6438
If any any get this type of error while cloning app from heroku or push or pull
Failed to connect to git.heroku.com port 443: Network is unreachable
I am just giving it a name as answer.
git clone --verbose [email protected]:myapp.git
As @Othrayte's comment he suggested to use this command to use.
Thanks @Othrayte
Upvotes: 0