Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the URL to a heroku git repository?

I am new to Heroku. Recently I created a NodeJS application with the Heroku git and deployed it on Heroku. I used the following command to clone the repository to my local computer from the Heroku git.

heroku git:clone -a {app_name}

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

like image 223
alextc Avatar asked Feb 08 '23 17:02

alextc


2 Answers

In your heroku account, go to your app -> Settings.
Under App Information, you'll find the heroku git url.

like image 176
sidekickbottom Avatar answered Feb 12 '23 08:02

sidekickbottom


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

You don't.

Heroku is a platform as a service hosting provider, not a repository host. You can clone from it, but that's not what it's designed to do:

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.

It doesn't provide a web interface to its Git repositories.

like image 41
Chris Avatar answered Feb 12 '23 09:02

Chris