fea*_*ool 28 heroku ruby-on-rails-3
这应该很简单,我发誓这是一个小时前工作的.我可以登录Heroku,但无法运行任何有用的命令:
$ heroku login
Enter your Heroku credentials.
Email: xxx@whatever.com
Password:
$ heroku stack
App not found
$ heroku config
App not found
Run Code Online (Sandbox Code Playgroud)
也许这是问题的根源?
$ git remote show heroku
! No such app as empty-samurai-345
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
empty-samuri-345是我之前删除的应用程序.我真正想做的就是使用bamboo-mri-1.9.2堆栈上传一个新的应用程序.
提前感谢您的建议......
Rya*_*igg 75
您需要git使用此命令删除heroku远程:
git remote rm heroku
Run Code Online (Sandbox Code Playgroud)
然后你可以用这个添加一个新的遥控器:
git remote add heroku git@heroku.com:your-app.git
Run Code Online (Sandbox Code Playgroud)
然后尝试运行您的heroku命令.
Der*_*itz 10
运行以下
git config -l
Run Code Online (Sandbox Code Playgroud)
配置密钥很容易发现remote.heroku.url.
现在,如果您可以直接编辑配置,只需:
git config -e
Run Code Online (Sandbox Code Playgroud)
如果不:
# Confirm you've got the right key
git config remote.heroku.url
# Substitute your_app_name appropriately
git config remote.heroku.url git@heroku.com:your_app_name.git
Run Code Online (Sandbox Code Playgroud)
我的回答是基于fearless_fool的评论,该评论缺乏很多细节.
仅供参考:配置文件位于/your_git_repo/.git/config中
| 归档时间: |
|
| 查看次数: |
13847 次 |
| 最近记录: |