ローカルリポジトリにリモートリポジトリを紐付けを行い
git push origin masterした際にエラーが出る
ターミナル $ cd ~/projects/favorite_food_share $ git remote add origin https://github.com/git登録時のusername/favorite_food_share.git $ git remote origin
この時点ではorigin出ているので問題ありません。
$ git push origin masterした際にエラーが出ます。
github desktopにもcurrent repositoryにfavorite_food_shareがあり
ブランチはmasterですがコミットができないのでうまく紐付けれてない感じです。
初めてのerror経験で解決方法がわかりません。
ご教授お願いします
ターミナル $ git push origin master error: src refspec master does not match any error: failed to push some refs to 'https://github.com/MISIAN-MISIAN/favorite_food_share.git'
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/01/15 10:49
2020/01/15 10:51
2020/01/15 11:02
2020/01/15 11:06
2020/01/15 11:27
2020/01/15 11:29