remote: Repository not found (only on VSCode)

ansunny1170·2023년 8월 11일
0

개발

목록 보기
10/11

시작하는말

VSCode 터미널 에서만 remote: Repository not found 이런 에러가 발생하기 시작했습니다.
구글링 하던 중 비슷한 문제를 공유한 사례가 있어 적용해 봅니다.

remote: Repository not found (only on VSCode

해결하기

https://github.com/microsoft/vscode-pull-request-github/issues/3109#issuecomment-1105227271

준비하기

  • 개인 액세스 토큰 생성 (설정 > 개발자 설정 > 개인 액세스 토큰)
cd /path/to/your/repo
nano config

확인해보면 아래와 같을 겁니다.

[remote "origin"]
	url = https://github.com/username/repo.git

아래와 같이 변경합니다.

[remote "origin"]
	url = https://<username>:<personalToken>@github.com/username/repo.git

마치는 말

정상작동 합니다!

profile
공정 설비 개발/연구원에서 웹 서비스 개발자로 경력 이전하였습니다. Node.js 백엔드 기반 풀스택 개발자를 목표로 하고 있습니다.

1개의 댓글

comment-user-thumbnail
2023년 8월 11일

즐겁게 읽었습니다. 유용한 정보 감사합니다.

답글 달기