Notice
Recent Posts
Recent Comments
Link
아미(아름다운미소)
git pull 가 안먹을때 본문
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 만으로도 가능해졌습니다.
'랭귀지 > Git' 카테고리의 다른 글
github remote 제거(기존) 및 remote 추가(신규) (0) | 2020.11.24 |
---|---|
error: failed to push some refs to (0) | 2020.11.16 |
Git : remote 명령어 정리 (0) | 2018.08.08 |
Git : pull 명령어 정리 (0) | 2018.08.07 |
Git : log 명령어 정리 (0) | 2018.08.06 |
0 Comments