简体   繁体   中英

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

(firstproject)aparna@aparna-HP-Notebook ~/Documents/myproject $ 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://AparnaBalagopal@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/heroku/first-blog.git/' not found

How can I solve this error?

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'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM