7月16日 学習記録

〇実施内容

   Git 環境構築

 

〇今日のエラー

    ファイルをプッシュするコマンド実行時に以下のエラーが出た。

    ryo_torisu@DESKTOP-4CA4AIR MINGW64 ~/mysite (master)
    $ git push origin master
    error: src refspec master does not match any
   error: failed to push some refs to 'https://github.com/ryotori1024/mysite.git'

 

  ・原因

     git addコマンドを実行した後に、コミットのコマンドを実行し忘れていた。