Git 브랜치 전략 - g-market/b-shop-backend GitHub Wiki
Git flow Stratgy
사용 브랜치
- main: 제품으로 출시될 수 있는 브랜치
- develop: 다음 출시 버전을 개발하는 브랜치
- feature: 기능을 개발하는 브랜치
release: 이번 출시 버전을 준비하는 브랜치- hotfix: 출시 버전에서 발생한 버그를 수정하는 브랜치
Branching
최신 develop
브랜치를 기준으로 브랜칭
feature/{기능}
ex : feature/기능명칭
머지된 브랜치(끝난 브랜치)는 제거
Merge Request
Squash Merge
를 기본으로 함develop
브랜치에 mergeMerge Request
시reviewer
를 지정해 리뷰 이후 merge- Thread가 다 Resolve 되어야지만 Merge
참고
https://dallog.github.io/git-branch-strategy/
https://tecoble.techcourse.co.kr/post/2021-07-15-git-branch/
https://jason-api.tistory.com/89
https://cjh5414.github.io/get-git-remote-branch/