[Git 에러] git pull 안될 때 : 현재 브랜치에 추적 정보가 없습니다.

414 단어 gitgit

git pull을 했더니 위와같은 메세지가 나왔다. 그래서 현재 branch를 확인해봤더니

git branch 

*master 이라고 나왔다.

로컬 branch가 원격(리모트) 브랜치를 추적하게 하기 위해 메세지에 나온대로 작성해보았다.

git branch --set-upstream-to=origin/master master

이제 git pull이 잘 작동한다. 해결완료!

좋은 웹페이지 즐겨찾기