-
'origin' does not appear to be a git repositorySolution 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
반응형'Solution' 카테고리의 다른 글
[Play Store] 단순한 웹뷰 앱 승인 반려나 게시 일시정지 되었을 때 (0) 2020.06.17 [remote rejected] master -> master (pre-receive hook declined) (0) 2020.06.10 git push가 안될 때(fatal: refusing to merge unrelated histories) (0) 2020.06.02 윈도우 8 / 블루스크린 / 0x00000002 DEVICE_QUEUE_NOT_BUSY (0) 2020.04.17 윈도우8 / 블루스크린 / 0x00000001 APC_INDEX_MISMATCH (0) 2020.04.17