Skip to content

Instantly share code, notes, and snippets.

@sigu
Last active May 23, 2018 05:55
Show Gist options
  • Save sigu/01941d52a14c6b7ebae796f763667b4f to your computer and use it in GitHub Desktop.
Save sigu/01941d52a14c6b7ebae796f763667b4f to your computer and use it in GitHub Desktop.
push sub directory to heroku
#push a subdirectory called backend to heroku
# the branch is develop
git push heroku `git subtree split --prefix backend develop`:master -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment