develog

[git] git pull 시도시 에러, fatal: Could not read from remote repository. 본문

카테고리 없음

[git] git pull 시도시 에러, fatal: Could not read from remote repository.

냐옴 2023. 5. 11. 22:55

git pull 시도시 아래 에러가 발생

$ git pull 
ERROR: 
fatal: Could not read from remote repository.

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

 

git remote update 후 다시 시도해 본다

$ git remote update

# 저장소 상태를 확인한다
$ git remote -v

 

저장소를 제거한 후 다시 연결해서 시도해본다

$ git remote remove origin
$ git remote add origin git@github:my/repo
$ git remote -v

 

Comments