Search code examples
githerokugithubgit-clone

Git clone Heroku app


How can I use git clone for someone else's Heroku app? All I can find is on your own Heroku app. Reason I want to do this is that I am using a boilerplate code for part of my app but the github repo is out of date and doesn't work but the linked demo on Heroku does work fine. I just need to see the routes for stripe actions.


Solution

  • You can only clone an app for which you have access to. And only the app owner can give you access to that app.

    heroku access:add <email address> -a <app name>
    

    You will then have access to both push and pull the code, and will be able to clone from that app.
    Apps for which you don't have access to cannot be cloned.