pushのエラー<Ruby on Rails>
第3章 ほぼ静的なページの作成 | Rails チュートリアル
詰まった部分。
$ git remote add origin https://github.com/<ユーザー名>/sample_app.git
$ git push -u origin master
の2番目がうまくいかずに悩んでいた。どうしても以下のエラーが出てしまう。
remote: Repository not found.
fatal: repository 'https://github.com/<ユーザー名>/sample_app.git/' not found
Githab上でリポジトリの作成を行っていないことを思い出し、
作成後にpushしたらうまくいった。