Skip to content

Instantly share code, notes, and snippets.

@georgiee
Created August 28, 2012 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgiee/3503870 to your computer and use it in GitHub Desktop.
Save georgiee/3503870 to your computer and use it in GitHub Desktop.
push git subfolder to heroku
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