Skip to content

Instantly share code, notes, and snippets.

@henrywang1
Last active October 13, 2022 02:09
Show Gist options
  • Save henrywang1/82ea772f33f33a2d7a4439951d853e41 to your computer and use it in GitHub Desktop.
Save henrywang1/82ea772f33f33a2d7a4439951d853e41 to your computer and use it in GitHub Desktop.
Force push subtree to heroku
# Push subtree in local branch to heroku
git push heroku `git subtree split --prefix project-name local-branch-name`:master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment