본문 바로가기
  • log.info(" Nice Developer ");
Trouble Shooting

VScode와 gitlab 연동 에러

by kwan97 2022. 10. 26.

문제

VScode에 gitlab에 있는 팀 Repo를 pull 해오기 위해서 Clone 하려던 중 연동 에러 발생


원인 및 해결방법

Please make sure you have the correct access rights and the repository exists.

-터미널을 켜서 $ ssh-keygen -t rsa -C “본인 Gitlab 계정 email”를 쳐서 SSH key 생성 완료

-SSH 폴더에 있는 id_rsa.pub 파일을 메모장으로 열어서 gitlab SSH key 입력창에 복붙하면 끝.


참조했던 블로그나 자료

 

git permission denied (publickey) : git 명령어 에러 해결방법

git permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists 문제 git clone, git pull 등 PC에서..

maliceit.tistory.com

 

728x90

댓글