Githubの初回pushでエラー(error: src refspec main does not match any error: failed to push some refs to ‘github.com:*/*.git’)が出た時の対処法 | ひつじ姉さんのTechメェモ

Githubで新しいプロジェクトを作成して、存在するレポジトリを初めてpushするとき …or push an existing repository from the command line git remote add origin