랭귀지/Git
git pull 가 안먹을때
유키공
2020. 11. 27. 13:28
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
==============================================
-u`나 `--set-upstream-to 옵션 줘서 로컬 master가 origin/master를 추적하게끔 해줍니다.
$git branch --set-upstream-to=origin/master master
git pull 만으로도 가능해졌습니다.