Reputation: 851
I have logged in to my account using heroku login
. I wonder how I can clone my deployed application from heroku into my computer.
I have not pushed the application into any online git repos like GitHub.
Upvotes: 0
Views: 21
Reputation: 76774
You can read the official documentation here:
To clone the source of an existing application from Heroku using Git, use the heroku git:clone command:
$ heroku git:clone -a myapp
--
If you're not using herou toolbelt
, you'll have to authenticate your connection before trying to run any git
commands. Since you're using heroku login
etc, the above should be sufficient for you.
Upvotes: 0
Reputation: 3427
copy git url from your heroku app settings page and do $ git clone paste-copied-git-url-here
for example
$ git clone [email protected]:your-heroku-app-name.git
Upvotes: 2