Error code 모음/8. Git errors
[Git Error] src refspec master does not match any - git clone 이 안될때
쟈누
2021. 12. 22. 20:14
반응형
1. 에러 원인
로컬에 clone 할 때, 해당 경로에 기존의 git 이 존재하는 경우 발생할 수 있다.
2. 해결 방법
해결방법에는 여러가지가 있지만... 가장 간단한 방법인
문제의 원인을 그냥 잘라버리고 다시 새로운 경로를 만든 다음에 git clone 을 실행하여
git 내의 파일들을 가져온다.
git clone "내 레포지토리 주소"
자세한 사항은 아래 칭크 참고
3. 참고 링크
src refspec master does not match any 해결방법
문제 : 로컬 저장소에 있는 프로젝트를 깃허브로 push하던 중 다음과 같은 에러를 마주했다. 해결해보자. 터미널로 해당 프로젝트 폴더로 이동이 분은 갓스택오버플로우의 도움을 받아 해결이 됐
velog.io
Git: Message 'src refspec master does not match any' when pushing commits in Git
I clone my repository with: git clone ssh://xxxxx/xx.git But after I change some files and add and commit them, I want to push them to the server: git add xxx.php git commit -m "TEST" git push ...
stackoverflow.com
반응형