Reputation: 1416
I created an app and deployed it to Heroku, but I didn't have a github git repo (I know really bad idea!) and my local git repo has been deleted (just plain stupidity here). So I have no copies of my source. I need to make some updates and the only thing I can think of is doing a checkout from Heroku.
Is there a way to do a checkout from Heroku? Is there a way I can retrieve the source from the Heroku git repo?
Upvotes: 13
Views: 3086
Reputation: 46914
You just need clone you git repo link by your heroku app.
git clone [email protected]:<YOUR_APP>.git
Upvotes: 26