git-flow란?

Vincent Driessen이 제안한 best practice로 git repo를 관리하기 위한 git 확장 패키지

설치(Mac 기준)

먼저 git을 설치해야 함

brew install git

그다음 git-flow 설치

arch -arm64 brew install git-flow-avh

명령어

git-flow를 사용하기 위해 git 저장소를 git-flow에 맞게 초기화

git flow init

release 브랜치 생성

git flow release start <version>

원격 저장소로 push

git flow release publish <version>

release 브랜치 마무리

git flow release finish <version>

참고

[Git] git-flow 소개, 설치 및 사용법