Tomato's BLOG

[Github] Repository not found 문제 본문

개발

[Github] Repository not found 문제

토마토Tomato 2022. 5. 11. 10:03

문제

git pull origin main

이 명령어 실행시 

    remote: Repository not found.
    fatal: repository 'https://github.com/my-repo.git/' not found

에러가 발생한다.


이유

해당 레포가 private이라서


해결

참고 - https://stackoverflow.com/questions/10116373/git-push-error-repository-not-found

git remote rm origin
git remote add origin https://USER_NAME@github.com/my-repo.git/

위 처럼 원래 origin path를 지우고 에 내 username을 추가하니 해결되었다.

'개발' 카테고리의 다른 글

jupyter notebook kernel error 해결  (0) 2021.03.17
[딥러닝] 텐서플로우 모델 만들고 시작하기  (0) 2021.02.04
Comments