소소한 개발 공부

fatal: couldn't find remote ref master 본문

개발/Git

fatal: couldn't find remote ref master

이내내 2021. 4. 12. 22:42

master 라는 remote를 찾을 수 없어 나오는 git pull 에러 메시지.

 

$ git pull origin master

위를 썼을 때 현재 remote가 master인지 main인지 혹은 다른 branch인지 확인할 것.

 

만약 현재 branch 이름이 main이라면 다음을 쓴다.

 

$ git pull origin main