fatal: 'origin/master' does not appear to be a git repository

git使っててミスっためも。

タイプミスでした。。*1というわけで拡散しとこう。

おきたエラー

pushするときに出た。

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

結局

正しいコマンドは以下。

git push -u origin master

で、間違えてたやつ↓ スラッシュはいらないんだった。。

git push -u origin/master

*1:タイプミスのことtypoっていうらしい