오늘 포트폴리오 관련해서 vsc에서 작업을 하고 있었는데 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.
위와 같은 오류가 나왔는데 push 할 때 오류 발생 시
git remote -v 확인
origin github.com/hyunbeanohh/boiler-plate.git (fetch)
origin github.com/hyunbeanohh/boiler-plate.git (push)
ssh주소를 아래 https주소로 변경
git remote set-url origin github.com/hyunbeanohh/boiler-plate.git
git push -u origin master
대신
git push origin master
이렇게 푸시하면 해결이 되었다 .
'개발' 카테고리의 다른 글
Node JS , React 를 이용한 Boiler-plate 구현하기 - Client Part (0) | 2021.02.01 |
---|---|
Node JS , React 를 이용한 Boiler-plate 구현하기 - Server Part (0) | 2021.02.01 |
CSS,HTML 과 CSS3 HTML5 (0) | 2021.01.06 |
[Javascript] Ajax (0) | 2020.12.31 |
[Javascript] 이벤트 - 2 (0) | 2020.12.31 |