git pull

Rami·2023년 12월 4일
0

GIT

목록 보기
1/4

$ 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

원격 브런치와 로컬 브런치 동기화
git pull -u <원격 저장소>/<원격 저장소 브런치 이름> <브런치 이름>

git pull <원격 저장소 이름> <브랜치 이름>

현재 브런치 최신화
git pull <원격 저장소> <원격 저장소 브런치 이름> : 특정 브런치만 최신화, 전부 최신화 하고 싶다면 git pull만 입력

결론
$ git pull origin develop
develop 자리는 가져올 원격저장소 브랜치 이름

profile
YOLO

0개의 댓글

Powered by GraphCDN, the GraphQL CDN