前提条件
- GitHubの無料アカウント
- git version 1.8.3.1
- ssh key は登録済み
- 二段階認証はOFF
レッツトライ
- ローカルマシンに作成したリポジトリをGitHubにpushしようとすると
Repository not found
と言われる(まあ、そうなんだけど...)
[root@10 toy_app]# git push -u origin master
Password for 'https://namio624@github.com':
remote: Repository not found.
fatal: repository 'https://namio624@github.com/namio624/toy_app.git/' not found
[root@10 toy_app]# git push -u origin master
Password for 'https://namio624@github.com':
Counting objects: 90, done.
Compressing objects: 100% (76/76), done.
Writing objects: 100% (90/90), 21.21 KiB | 0 bytes/s, done.
Total 90 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), done.
To https://namio624@github.com/namio624/toy_app.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
- 本当にあらかじめリポジトリ作成しとかないと、masterにpushってできないのだろうか。。。知ってる方いましたら教えてください
- Gitのバージョンが古いとかかなあ。。