[GitHub] fatal: 'orgin' does not appear to be a git repository 오류

JH Park·2021년 5월 12일
0

GitHub

목록 보기
1/4
post-thumbnail

fatal: 'orgin' does not appear to be a git repository

git remote add origin '주소~' 를 했으나 push/pull을 orgin으로 해서 나는 오류이다.

remote -v를 통해서 저장되어 있는 정보를 확인할 수 있다.

해결 방법으로는 orgin 주소를 지우고 origin으로 다시 등록하거나
git remote add '새로운 이름' '주소~'로 다시 저장하여 git push/pull '새로운 이름' master 하는 것이다.
git remote rm orgin을 하면 그 주소가 지워지게 된다.

이후 기존에 했던 것 처럼 git remote add origin "주소.git" 후에 다시 push/pull하면 된다.

profile
Computer Engineering Student

0개의 댓글