Git 사용법

  • 원격 저장소 갱신
1
git remote update 
  • 원격 저장소 branch 확인
1
git branch -r
  • 원격 저장소 가져오기
    • branch 이름 형식은 origin/dev 이렇게 적어야합니다.
    • git branch -r로 출력된 이름을 입력하면 되요
1
git checkout -t [branch 이름]

Reference

git 브랜치: 가져오기, 합치기, 삭제하기