Skip to content

Git Convention

Rey edited this page Jul 25, 2022 · 12 revisions

Git Convention

Commit Message

[label] issue_num : commit message

[feat] #2 : 파도 애니메이션 적용
[bug] #4 : 파도 애니메이션 무한 반복 현상
[fix] #5 : 파도 애니메이션 무한 반복 현상 해결

'#' number : 이슈 번호

Label

bug : 버그 발생 시

conflict : Pull Reqeust 생성 후 Conflict로 Auto Merge가 진행될 수 없을 시

documentation : README.md, Git Template, commit message에 사용 시, ‘docs’로 축약

feature : 새로운 기능 구현

fix : 배포되지 않은 버전에서의 구현된 feature 수정 및 해결

hotfix : 배포 버전에서의 긴급한 버그 수정 및 해결

question : 프로젝트에 대한 모든 질문

help : 프로젝트 진행 중 도움이 필요할 때

reopen : 이슈 & PR이 다시 열렸을 때 or 동일한 내용으로 새로 올렸을 때

prepare : Research for about feature, 작업할 내용에 대한 탐색

refactor : 리펙토링할 경우 사용

undefined : 우선순위가 정의되지 않은 기능에 대해서 작업 시

Git branch Flow

main : release로부터 squash merge를 받는 branch

release : develop으로부터 스프린트 단위로 merge를 받는 branch

develop : 개인 feature branch로부터 squash merge를 받는 branch

feature : feature 관련된 브랜치는 이름/feature이름으로 생성

labs: 실험실 브랜치 주요 feature가 아닌 실험이 되는 기능들을 추가해보는 branch, main branch와 동기화

Clone this wiki locally