Andrea
Andrea

Reputation: 179

How to git clone a repository to heroku

I have a git repository called first-blog and it contains a python-django project named as myproject. I tried to clone this repository to heroku using the command

$ git clone https://github.com/heroku/first-blog.git

I got an error

Cloning into 'first-blog'...
Username for 'https://github.com': AparnaBalagopal
Password for 'https://[email protected]': 
remote: Repository not found.
fatal: repository 'https://github.com/heroku/first-blog.git/' not found

How can I solve this error?

Upvotes: 0

Views: 237

Answers (1)

WJVDP
WJVDP

Reputation: 62

Your repository is at

https://github.com/AparnaBalagopal/first-blog.git

I'm not sure how you got the original link, but your repos will always be at

https://github.com/<your_username>/<repo_name>.git

Your links points to a repo for the user 'Heroku'.

Upvotes: 1

Related Questions