[git] remote branch를 local로 가져오는 방법

dev stefanCho·2021년 5월 11일
0

git

목록 보기
1/14

팀원이 만든 remote branch를 내 local로 가져와서 확인해야할 때가 있다.

방법

  • 우선 remote 브랜치를 가져온다.
    > git fetch && git pull
  • remote branch명으로 checkout하면 자동으로 생성된다.
    > git checkout {remote_branch_name}

참고

Git Checkout a Remote Branch

profile
Front-end Developer

0개의 댓글