Created
August 28, 2012 20:32
-
-
Save georgiee/3503870 to your computer and use it in GitHub Desktop.
push git subfolder to heroku
This file contains 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
brew install git-subtree | |
git subtree push --prefox web staging master | |
#where "web" is subfolder of git project and contains the rails app | |
#another way would be using config.ru without subtree push but then you would always push your whole project and not only "web" or whatever folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment