[GIT] Git Branch

less than 1 minute read

Published:

In this post, concept and usage of Git Branch is introduced.

Git 이 무엇인가와 초기 세팅 방법에 대한 기초적인 내용은 여기 참고.

Git Branch

git branch # * 표시가 붙은 브랜치가 현재 브랜치
git branch 새브랜치이름 # branch 생성
git checkout 새브랜치이름 # branch 이동
git switch 새브랜치이름 # 최신 git에서의 branch 이동
git branch -d 브랜치이름 # branch 삭제
git branch -D 브랜치이름 # 병합 안 된 브랜치를 강제로 삭제

Leave a Comment