Git branch 생성, 삭제, 브랜치명 변경, 브랜치 이동

Song·2022년 5월 21일
0

브랜치 생성

$ git branch test master

: master 브랜치에 test 라는 브랜치 생성

브랜치 삭제

$ git branch -D test

: test 라는 브랜치 삭제

브랜치명 변경

git branch -m test testcode

: test 라는 브랜치를 testcode 로 이름 변경

현재 브랜치 확인

git branch

: 현재 브랜치 확인 후 나올땐 :q 를 입력하면 된다.

profile
Hello, My World!

0개의 댓글