Git

[Git Error] 'git checkout' error

남 희 2021. 7. 7. 00:40

1. 오류 메시지

   error: pathspec '(브랜치 이름)' did not match any file(s) known to git

  (에러 : git에서 일치하는 브랜치 이름을 찾지 못했다.)

 

2. 오류 원인

  브랜치 정보가 업데이트 되지 않았기 때문이다.

 

3. 오류 해결 방법 - 아래 명령어 작성

   git remote update
   git fetch

 

<참고 사이트>

opendive.tistory.com/646opendive.tistory.com/646