본문 바로가기

git/branch 생성 및 스위치

git 브랜치 생성 및 변경

728x90

git init  (초기화)

git remote add origin [주소]   (원격 레포지토리 주소 설정)

→ (브랜치 리스트가 없는 경우 + 최초) git fetch --all  (원격 저장소의 최신 정보를 가져옴)

git checkout feature/division

git clone —branch feature/division [주소]

   또는 git fetch origin feature/product_level

728x90