0

Hartls の本からサンプル アプリを再デプロイする際に問題が発生しました。

 !  No such app as murmuring-beyond-6630.

そこで、Heroku にログインし、アプリを削除して、別のアプリを作成しました...

fatal: The remote end hung up unexpectedly
yuliya@ubuntu:~/rails_projects/sample_app$ heroku create

Creating cryptic-plains-9409... done, stack is cedar
http://cryptic-plains-9409.herokuapp.com/ | git@heroku.com:cryptic-plains-9409.git

yuliya@ubuntu:~/rails_projects/sample_app$ heroku keys:add
Found existing public key: /home/yuliya/.ssh/yuliya.pub
Uploading SSH public key /home/yuliya/.ssh/yuliya.pub... done

yuliya@ubuntu:~/rails_projects/sample_app$ git push heroku master

 !  No such app as murmuring-beyond-6630.

まだ以前のアプリを参照していたので、git rm heroku コマンドを使用して削除しました。次に、heroku create を実行しました。その後、もう一度アプリをプッシュしようとしました...

yuliya@ubuntu:~/rails_projects/sample_app$ git remote add heroku git@heroku.com:cryptic-plains-9409
yuliya@ubuntu:~/rails_projects/sample_app$ git push heroku master

 !  Invalid path.
 !  Syntax is: git@heroku.com:<app>.git where <app> is your app's name.

私は完全に立ち往生しており、ここで助けていただければ幸いです。私はこれにまったく慣れていないので、お時間をいただきありがとうございます!

4

1 に答える 1

1

.gitエラーが不平を言っているのは、あなたが をやめたと思います。

これを試して、

git remote set-url heroku git@heroku.com:cryptic-plains-9409.git
git push heroku master

この質問を参照しました: "git push heroku master" は、プッシュ先と別のリポジトリにプッシュする方法をどのように知っていますか?

于 2012-09-19T03:07:14.413 に答える