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

Yura·2022년 3월 18일
0

git / github

목록 보기
6/6
post-thumbnail

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

git branch 

*master 이라고 나왔다.

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

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

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

profile
가치와 의미를 쫓는 개발자 되기✨

0개의 댓글