Last active
August 29, 2015 14:02
-
-
Save drorweiss/0beeae0dda1844b777f2 to your computer and use it in GitHub Desktop.
Deployment from sub-dir to heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Normal push to heroku (From https://coderwall.com/p/ssxp5q): | |
git subtree push --prefix pythonapp heroku master | |
Initial push to heroku remote From http://stackoverflow.com/questions/13756055/git-subtree-subtree-up-to-date-but-cant-push | |
git push heroku `git subtree split --prefix pythonapp master`:master --force | |
Compact history after initial deploy From http://stackoverflow.com/questions/16134975/reduce-increasing-time-to-push-a-subtree | |
git subtree split --rejoin --prefix=<prefix> <commit...> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment