Solution

'origin' does not appear to be a git repository

zerocool0713 2020. 6. 5. 17:50
반응형
git push origin master

 

 

origin master로 git push 시 에러발생

fatal: 'origin' does not appear to be a git repository

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

 

원격 저장소에 origin/master가 없거나 remote repository 설정이 잘못되어있는 경우

 

 

원격 저장소명 확인

git remote -v

 

 

해결방법

 

기존 연결을 끊고 다시 연결 해본다.

 

 

-기존 원격저장소 연결 삭제

git remote remove repository

git remote remove repository

 

 

-다시 연결

git remote add origin https://github.com/account/repository.git

 

반응형