Why is does my cloned repo not contain the latest/most recent commits?
heroku git:clone the output doesn't contain the latest updates/releases for the app.
This occurs when deploys to your application started out with
git push ... and have then switched to using our platform API, typically via the GitHub integration or Dropbox Sync.
These API based deploys don't update the git repo for your app, which is one of the reasons we recommend using a dedicated service for source code management instead of relying on Heroku to store your git repo.
To get access to the latest code you can download the application slug as follows:
heroku plugins:install heroku-repo heroku repo:download -a YOUR_APP_NAME mkdir YOUR_APP_NAME-repo tar -xvzf YOUR_APP_NAME-repo.tgz -C YOUR_APP_NAME-repo git clone YOUR_APP_NAME-repo YOUR_APP_NAME-checkout cd YOUR_APP_NAME-checkout
These commands assume the use of OSX or Linux. If you are using Windows you'll need to open and extract the .tgz with WinZip or similar.