Why is does my cloned repo not contain the latest/most recent commits?

Issue

When using heroku git:clone the output doesn't contain the latest updates/releases for the app.

Resolution

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 using the Heroku Slugs plugin https://github.com/heroku/heroku-slugs

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com