How can I push a part of my git repo to Heroku?

后端 未结 3 641
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 11:23

I have a multi-module app that is already on Github. It is comprised of two modules, one of them an Android app and the other a Rails based Web app. So my project\'s directo

3条回答
  •  [愿得一人]
    2020-12-07 11:58

    You can use git subtree push. It will generate a new commit tree with your directory as root, and push it.

    git subtree push --prefix web heroku master
    

    Full documentation is here.

提交回复
热议问题