How to change a Git remote on Heroku

后端 未结 7 1566
慢半拍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:41

    here is a better answer found through Git docs.

    This shows what the heroku remote is:

    $ git remote get-url heroku

    Found it here: https://git-scm.com/docs/git-remote Also in that document is a set-url, if you need to change it.

提交回复
热议问题