git push - u origin master
error: src refspec master does not match any.
error: failed to push some refs to 'URL'
이는 Repository 에 commit한 내용이 없기 때문에
(나의 경우, repository 처음 생성으로 readme도 없는 빈 레퍼지토리였음)
server에 추가할 branch 또한 존재하지 않아 발생한 에러.
즉, repository가 비어있음
touch initial
git add initial
git commit -m "initial commit"
git push -u origin master
새로 repository를 파서 올리는 경우 git add - commit- push의 방법보다
위의 방법을 사용하는게 나을 것 같다.