git commit convention

Tags
convention
commit
부가 설명
커밋 메세지 명명 규칙
 

chore의 의미

chore: updating grunt tasks etc; no production code change
 
 

커밋 형식

<type>(optional scope): <description> # 타입과 타이틀 간략하게 body (optional) # 상세 기술 BREAKING CHANGE (optional) # 별도로 강조하고싶은 내용이 있는 경우 설명 [optional footer(s)] (optional) #지라, 깃이슈 등 이슈 태깅

type

- add or feat : 기능 개발 / 비지니스 로직 - fix : 버그픽스, 핫픽스 - refac : 기능 추가도 아니고, 버그픽스도 아닌 코드 수정 - chore : 크게 신경 안써도 되는 기타 등등 (config 수정, .gitignore, 네이밍변경 등) - test : 테스트 코드 관련 - remove : 데드코드 제거 / deprecated 기능 제거 - release or version : 배포버전 태그 - style : fe only : 스타일 코드만 작성한 경우

예시

# scope는 옵셔널 chore(library): react-navigation v6 버전업 chore: react-navigation v6 버전업 feat(hardwareConotrller): 냉장 명령어 추가 feat: 냉장 명령어 추가
fix(middleware): ensure Range headers adhere more closely to RFC 2616 Add one new dependency, use `range-parser` (Express dependency) to compute range. It is more well-tested in the wild. Fixes #2310
fix: fix foo to enable bar This fixes the broken behavior of the component by doing xyz. BREAKING CHANGE # 별도로 강조하고싶은 내용이 있는 경우 Before this fix foo wasn't enabled at all, behavior changes from <old> to <new> Closes D2IQ-12345 # 지라, 깃이슈 등