Skip to content

리모트 브랜치를 로컬로 가져오는 방법

Eunggu Yun edited this page Dec 8, 2018 · 1 revision

1. 리모트 갱신

git remote update

2. 리모트의 브랜치 확인

git branch -r

또는

git branch -a (로컬과 리모트의 모든 브랜치)

3. 리모트의 브랜치 가져오기

git checkout -t <브랜치 이름>

예시

git checkout -t origin/localization

4. 브랜치를 잘 가져왔는지 확인

git branch