./categories/dev-ops
Git src refspec does not match any
로컬에 master/main 커밋이 없거나 브랜치명이 안 맞을 때 git push 실패.
개인 프로젝트
git clone https://github.com/<user>/<repo>.git
# 변경분만 복사해 사용
처음부터 올리기
git init
git branch -m main
git remote add origin https://github.com/<user>/<repo>.git
git add .
git commit -m "first commit"
git push -u origin main
팀·권한
clone은 되고 push만 실패 → write 권한 확인.
기본 브랜치는 main (master 우회 비권장).
./comments