Aluxzi
Aluxzi

Reputation: 177

Retrieve source code from Heroku

I have four different applications on Heroku that contain a considerable amount of code each, but I do not have the original folder (/sites/example-app) on my computer. Is there anyway to download the source code from my Heroku account? I don't really want to start from scratch.

Upvotes: 1

Views: 164

Answers (1)

Agis
Agis

Reputation: 33676

Simply do a:

$ git clone <repo-url-to-heroku>

This will clone the application from Heroku to your local system. You can find out the url of each app by going to https://dashboard.heroku.com/apps and clicking on the Settings icon (generally they look like [email protected]:my-app-name.git).

Upvotes: 3

Related Questions