개발 공부

(github) remote 작업 요청 시 remote: Repository not found. 오류 본문

IT 상식

(github) remote 작업 요청 시 remote: Repository not found. 오류

아이셩짱셩 2021. 7. 12. 10:42

- 가끔 로컬 bash 에서 remote에게 push 나 기타 요청을 하면 아래 오류가 뜬다.

remote: Repository not found.
fatal: repository 'https://github.com/MyRepo/project.git/' not found

 

- 이는 주로 해당 저장소에 접근권한이 없어서 그런 것으로 os에 등록되어있는 credential을 모두 삭제해주고 진행하면 된다.

 

맥 환경

Keychain Access 에서 github.com 의 비밀번호 삭제

 

윈도우 환경

자격증명관리자( Credential Manager) 에서 'windows 자격 증명' 삭제 

 

1. [윈도우키] 누르고 [자격 증명 관리자] 검색

2. windows 자격 증명 클릭

3. 일반 자격증명 아래 git: 으로 설정된 자격 삭제

4. 다시 push 를 시도하면 잘된다.

 

 

 

 

참고 :

https://stackoverflow.com/questions/37813568/git-remote-repository-not-found

'IT 상식' 카테고리의 다른 글

ccTLD  (0) 2025.01.31
(용어, 기술) IFTTT (작성중)  (0) 2021.07.16
(github) master 에서 main 으로 브랜치 이름 바꾸기  (0) 2021.07.12
(github) commit 내역 포함해서 clone 하기  (0) 2021.07.12
(용어) APIM 이란?  (0) 2021.07.09
Comments