我在Heroku上的生产应用程序工作正常,但我在尝试添加暂存应用程序时遇到了麻烦:
$ heroku list
=== My Apps
testivate
testivate-staging
$ git remote -v
heroku git@heroku.com:testivate.git (fetch)
heroku git@heroku.com:testivate.git (push)
$ heroku git:remote -a testivate-staging
! Git remote heroku already exists
Run Code Online (Sandbox Code Playgroud)
发生了什么,我该如何解决?
谢谢,
史蒂芬.
heroku git:remote默认情况下添加一个名为"heroku"的遥控器.错误消息告诉您,"名为heroku的git远程已经存在".通过附加指定遥控器的名称-r your_name.