본문 바로가기

Study/Exception

Git 원격 저장소 에러 : ']' does not appear to be a git repository Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

원인 :

 

마스터 브런치에는 commit 과 push 가 잘 됨.

new189p 라는 브런치 생성 

local에는 commit 이 됨. 하지만 push는 안됨.

Remote branch 가 생성이 안되있었다.

 

해결방법 :

 

git remote -v

origin 이 이상해 보인다.

그래서 삭제했다.

 

git remote remove origin

 

그리고 나서 다시 연결.

 git remote add origin https://저장소 연결주소

 

결과 : 

정상적으로 commit , push 됨.

 

깃을 모르는 상태여서 찾아보면서 두들기다보니 해결하게 되었다.

깃도 빨리 공부해야지

 

참고한 사이트 이동