heroku git 存储库的 URL 是什么?

What is the URL to a heroku git repository?

我是 Heroku 的新手。最近我使用 Heroku git 创建了一个 NodeJS 应用程序并将其部署在 Heroku 上。我使用以下命令将存储库从 Heroku git.

克隆到我的本地计算机
heroku git:clone -a {app_name}

我如何才能浏览 Heroku git 上的存储库,而不是像 GitHub 那样在本地浏览存储库?

How would I be able to browse the repository on the Heroku git rather than locally, like GitHub?

你不知道。

Heroku 是 platform as a service hosting provider, not a repository host. You can clone from it,但这不是它的设计目的:

Heroku provides the git service primarily for deployment, and the ability to clone from it is offered as a convenience. We strongly recommend you store your code in another git repository such as GitHub and treat that as canonical.

它不为其 Git 存储库提供 Web 界面。

在您的 heroku 帐户中,转到您的应用 -> 设置。
在应用信息下,您会找到 heroku git url.