ローカルの projects の中に開発用のディレクトリを作る
$ mkdir PROJECT_NAME
$ cd PROJECT_NAME
開発環境で react を使えるようにする
$ yarn create react-app app --template typescript
git を設定
① 新規のレポジトリを作成
※ private にする以外はすべてデフォルト(readmeも作らない)
②「…or create a new repository on the command line」 に書かれている通りに実行。
$ echo "# rainbow_room" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git remote add origin https://github.com/*/rainbow_room.git
$ git push -u origin main
※必ず一行ずつ行い、エラーが出たら以下を実行
git config user.email "xxxxxx@fermata.co.jp"
git config user.name "xxxxxx"