Git 오류 정리

Minji·2022년 6월 6일
0

오류 생길 때마다 정리해두기

오류 메시지

Please make sure you have the correct access rights and the repository exists.

branch이동 시도 중에 원격 저장소 branch 정보를 제대로 읽어오지 못할 떄 생김

해결 방법

  1. git remote update 로 변경된 branch 정보를 업데이트 후 작업 시도하기
  2. 원격 저장소 연결 제거 후 재연결하기
    git remote remove 원격 저장소 이름(origin)
    git remote add origin 원격 저장소 url
profile
매일매일 성장하기 : )

0개의 댓글