반응형
Notice
Link
목록소스레퍼런스 (1)
스택큐힙리스트
메시지 'src refspec master가 일치하는 것이 없음'은 Git에서 커밋을 푸시할 때 발생합니다.
저는 다음과 같이 저장소를 복제합니다: git clone ssh://xxxxx/xx.git 하지만 몇 개의 파일을 변경한 후에 add와 commit을 하고, 이를 서버에 푸시하고 싶습니다: git add xxx.php git commit -m TEST git push origin master 하지만 받은 오류는 다음과 같습니다: error: src refspec master does not match any. error: failed to push some refs to 'ssh://xxxxx.com/project.git' 답변 1어쩌면 커밋만 필요할 수도 있습니다. 저는 다음을 실행할 때 이와 마주쳤습니다: mkdir repo && cd repo git init git remote add origin ..
카테고리 없음
2023. 11. 23. 09:52