git pullエラー there is no tracking infomation for the current branch
1there is no tracking infomation for the current branch
となってpullできない。ブランチのupstreamが登録されてないみたいな感じ
1git branch --set-upstream-to=origin/main main
これで解決した。デフォルトブランチがmasterではなく最近はmainに変更されてるところは注意が必要。
Git で git pull するとマージすべきブランチがわからないと言われる場合の対処方法