IT/개발
[git] 자주 쓰는 git 명령어 정리
Terriermon
2022. 3. 18. 11:12
원격 저장소의 Branch 가져오기
요약
git remote update
git branch -r
git checkout -t <branch>
1. 원격 저장소 업데이트
git remote update
2. 원격 저장소 브랜치 확인
git branch -r
3. 원격 저장소 브랜치를 local로 가져온 후, branch 변경
git checkout -t <branch>
ex) git checkout -t origin/dev
반응형