error: pathspec 'new-branch' did not match any file(s) known to git
위와 같은 에러가 날 때
- git fetch
또는
- git remote update
- git fetch
완료 후
- git checkout <new-branch>
'git' 카테고리의 다른 글
git branch 생성 후 푸쉬 (0) | 2023.03.08 |
---|---|
파일이나 폴더 대/소문자 변경 시 git이 인식하지 못할 때 (0) | 2023.03.06 |
single branch로 clone 후 다른 branch 가져오기 (0) | 2021.09.28 |