Heroku Git rejects pushes from shallow clones

Change effective on 07 December 2015

The Git service at heroku.com and git.heroku.com now detects and rejects pushes that originate from shallow clones. Heroku will no longer attempt to build projects unless the Git history is complete.

If you wish to push from a shallow repository, either deepen it with git fetch --all --unshallow, or use the build API to submit the source tree.