javascript

fatal: couldn't find remote ref main

까망거북 2021. 12. 15. 16:47

git hub push 시 발생 한다.

 

fatal: couldn't find remote ref main

 

원인은 git hub 저장소가 master에서 main으로 변경되었기 때문이다.

 

터미널에서 git push origin main 을 한번 입력 해주면 다음부턴 잘된다.