LoginSignup
2
3

More than 5 years have passed since last update.

初心者がherokuのloginにつまづいた話

Posted at

Herokuのセットアップをして、heroku loginできるようにもなりsshも登録できてheroku create [app_name]もしました。
さっそくPushしようとすると。

$ git push heroku master

エラーが出る

fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

解決方法

これでaddしないといけないらしい

$ git remote add heroku git@heroku.com:{my-project-name}.git

そしたら無事に** heroku **にPushできました。

こちらを参考にさせていただきました

Railsでtwitterサービスをつくる(続きの続き)

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3