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

标签 python django heroku github

我正在使用 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/

相关文章:

python - Pandas groupby 抛出 : TypeError: unhashable type: 'numpy.ndarray'

django - 如何在 DRF 中序列化 GenericForeignKey?

django - 反向 Django 外键查找的复杂性

ssl - 无法在 Heroku 中配置 SSL

ruby-on-rails - 我运行迁移时的 heroku 错误(rails 3.1 cedar 堆栈)

python - 进程之间的数据共享问题

python - 使用字符串变量格式化 timedelta

排序列表上的Python排序复杂性

django - 创建 View - 从模板访问 success_url

heroku - 构建我个人的 "heroku"或 "fluxflex"之类的?