git checkout newBranch 명령어로 브랜치 전환이 안 되는경우

$ git checkout newBranch                                                                                     
error: pathspec 'newBranch' did not match any file(s) known to git

git repo의 정보 갱신이 필요하다.

git remote update  
$ git checkout newBranch                                                                                     
Branch 'newBranch' set up to track remote branch 'newBranch' from 'origin'.

다른 카테고리의 글 목록

Etc 카테고리의 포스트를 톺아봅니다