hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
깃 초기세팅에 맞게 해봤지만 ㅠㅠ 도무지 뭐가 문젠지 몰라서 서칭해보니 데이터 유실문제때문에
git push --set-upstream origin main
가 먹히지 않는거라고 한다
git push -u origin +main
를 해주면된다고 한다.
오류 해결 끝!