リモートリポジトリからプッシュした際にfailed to push some refs to 'https://github.com/〜〜.git'
このさいとhttps://qiita.com/devzip8/items/28ac253ea295ad6c2b73
でremoteからpushできるけど
Firstとにしないとぬまる
error: failed to push some refs to 'https://github.com/〜〜.git'
このエラーが出ました。
原因は初めてのコミット&プッシュなのに
git commit -m "Initial Commit"
としていた所。
解決方法
git commit -m "First Commit"
これで他は手順通りやれば、プッシュまで行きました。
2回もハマってるから気をつけねば。