対策:
①リポジトリで、git branch -a
可能なブランチを確認
たとえばmainがでたら、下記実行
git symbolic-ref HEAD refs/heads/main
参考:https://stackoverflow.com/questions/11893678/warning-remote-head-refers-to-nonexistent-ref-unable-to-checkout
対策:
①リポジトリで、git branch -a
可能なブランチを確認
たとえばmainがでたら、下記実行
git symbolic-ref HEAD refs/heads/main
参考:https://stackoverflow.com/questions/11893678/warning-remote-head-refers-to-nonexistent-ref-unable-to-checkout