How to change a Git remote on Heroku

后端 未结 7 1503
慢半拍i
慢半拍i 2020-12-22 15:10

I do not want to upload my app to the wrong domain.

How can I change the git master branch on git?

相关标签:
7条回答
  • 2020-12-22 15:49

    If you have multiple applications on heroku and want to add changes to a particular application, run the following command : heroku git:remote -a appname and then run the following. 1) git add . 2)git commit -m "changes" 3)git push heroku master

    0 讨论(0)
提交回复
热议问题