레포지토리에 draw.io 파일 추가 후에 git push 가 안되는 경우..!
수업용 레포지토리인데 프로세스 구조도를 draw.io에서 그린 후
이 레포지토리에 저장을 했는데 그 뒤로 git push가 되질 않습니다 ㅠㅠ!
! [rejected] main -> main (fetch first)
error: failed to push some refs to 'https://github.com/레포지토리주소.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
이런 오류가 계속 깃배쉬에 뜨는데 어떻게 해결해야 할지 모르겠어요...
혹시나 해서 저 draw.io 파일을 지우고 시도해보았지만 결과는 같더라구요..!
레포지토리를 삭제하고 다시 만들어서 올리는 수밖엔 없을까요 ㅠㅠ?!