How can I pull an existing heroku app to new location for development?

前端 未结 5 1866
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 05:24

I currently have the latest version of my code on another computer that I want to develop from (Home computer and laptop for when I\'m out and about) I set up heroku for my

5条回答
  •  广开言路
    2020-12-02 06:10

    If you already have your code base ready and have heroku setup, use:

    $ heroku git:remote -a your_heroku_app
    

    This will allow you to deploy from your new location. Reference: https://devcenter.heroku.com/articles/git#creating-a-heroku-remote

提交回复
热议问题