Word | Description |
---|---|
feature | 새로운 기능 추가 |
fix | 버그 수정 |
build | 빌드 관련 파일 수정, 패키지 매니저 수정 |
refactor | 코드를 리팩토링 할 때 |
style | 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우 |
chore | 사소한 코드 또는 언어를 변경할 때 |
test | 테스트 코드, 리펙토링 테스트 코드 추가 |
docs | 문서를 쓸 때 |
기본적으로 커밋 메세지는 아래와 같이 제목/본문/꼬리말로 구성한다
type : subject
body
feat: Summarize changes in around 50 characters or less [#123, #456, #789]
More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical (unless
you omit the body entirely); various tools like `log`, `shortlog`
and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how (the code explains that).
Are there side effects or other unintuitive consequenses of this
change? Here's the place to explain them.
Further paragraphs come after blank lines.
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
by a single space, with blank lines in between, but conventions
vary here
If you use an issue tracker, put references to them at the bottom,
like this:
Merge 형식
제목
기능: 작업내역[JIRA 티켓]
내용
### Description
설명
### Changes
변경사항
### Test Checklist
테스트 항목
master, develop branch에는 commit할 수 없습니다.
master는 prod에 배포하는 branch이기 때문에 주의해주세요.