본문 바로가기
git

git-src refspec master does not match any 해결방법

by code_learner 2021. 8. 20.

http://https://hanul-dev.netlify.app/git/Error-src-refspec-master-does-not-match-any.--/

 

인종차별의 이유로 master 가 main으로 대체되었다. 

 

   git checkout -b 'master'

   git push origin master

 

마스터 브랜치로 이동후 마스터 브랜치로 push 하였더니 해결되었다.

'git' 카테고리의 다른 글

git) does not have a commit checked out 해결방법  (0) 2021.08.20

댓글