Skip to content

Instantly share code, notes, and snippets.

@jordelver
Created January 23, 2013 10:37
Show Gist options
  • Save jordelver/4604220 to your computer and use it in GitHub Desktop.
Save jordelver/4604220 to your computer and use it in GitHub Desktop.
Trouble shooting Heroku deploy with empty git commits

Trouble shooting Heroku deploy with empty git commits

When troubleshooting Heroku deployments (slug compilation etc), it is necessary to add new git commits in order to force Heroku to re-compile your application slug.

Rather than making trivial changes all the time, you can add empty commits.

git commit --allow-empty -m "Force slug recompilation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment