git

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

code_learner 2021. 8. 20. 02:39

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 하였더니 해결되었다.