git flow

배찬영·2021년 6월 22일
0

git

목록 보기
1/3

Git Flow란

Branch가 크게 3가지 Branch가 있다고 생각하면 된다.

  • Main
    사용자가 사용하는 부분, 배포용 branch
  • Develop
    Main에 merge 전 branch, 코드 QA와 feature branch가 merge 되어있는 branch
  • Feature
    기능별로 되어 있는 branch

git flow 구조

  • 2개의 feature branch에서 각 기능을 구현 중 1개의 feature 가 develop branch에 merge가 되었다면 새로 pull을 받아서 진행
  • develop branch에서 main에 merge전 release branch에서 code QA 진행후 버그 발견했다면 fix 진행
  • 만약 main branch에서 버그가 발생했다면 hotfix로 branch로 만들어서 진행
profile
안녕하세요

0개의 댓글