gpt4 book ai didi

python - 如何在heroku中使用现有的git存储库

转载 作者:太空宇宙 更新时间:2023-11-03 16:12:38 25 4
gpt4 key购买 nike

我正在使用 heroku 在 python-django 中创建 Web 应用程序。我需要使用 heroku 中现有的 git 存储库。我的存储库的名称是 first-blog。当我使用

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

我得到

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

这个。我将我的 github 连接到 heroku 帐户。我怎样才能将此存储库连接到我在heroku中的应用程序。

最佳答案

您尝试克隆的存储库不存在,尝试在本地计算机上克隆它会得到相同的结果。

您可能想克隆https://github.com/AparnaBalagopal/first-blo‌​g.git

关于python - 如何在heroku中使用现有的git存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39149413/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com