master 브랜치를 main 브랜치로 변경하려고 했는데 해당 에러가 발생했다.
아래 명령을 순서대로 입력하면 해결 된다.
git remote update
git fetch
git checkout main
'etc' 카테고리의 다른 글
[eclipse] eclipse 삭제하기 (0) | 2022.06.30 |
---|---|
[MySQL] ERROR 1064 (42000): You have an error in your SQL syntax; (0) | 2022.06.27 |
[Git] git error - fatal: not a git repository (0) | 2022.06.15 |
[Git] Git Hub 사용하기 (0) | 2022.01.17 |
한 레포지토리를 여러 폴더에 클론할 때 (Git fatal: refusing to merge unrelated histores) (0) | 2021.07.24 |