에러가 떴었는데 정확한 에러 코드가 기억이 안나서 블로그에서 퍼왔다.
아마 비슷한 내용일 것이다.
git remote
를 하고 처음 push
할 때 아마 이런 에러가 뜰 수 있는데 이 이유는 정확하게 원격저장소의 이름을 입력하지 않았기 때문이다.
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
git remote -v
git push origin main