gitでpushができなかった
エラー内容
fatal: 'master' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
masterがないのはどう考えてもおかしい!!!
調べてみると鍵の設定を行っていないため出るエラーらしい...
masterがないのはどう考えてもおかしい!!!
ステータス見てみる
$ git status
# ../../.bash_history
# ../../.bash_logout
# ../../.bash_profile
# ../../.bashrc
etc
管理してる範囲が違うんじゃないかな?
うっかりgit initする場所間違ってる!(・ω<)
解決
管理範囲の変更
$ rm -rf .git
$ cd [管理におきたいディレクトリ]
$ git clone [git@...]
で無事にpushできるはず。
コードレビューしてくれる人がいるのは幸せだな。