commit을 관리하는 방법 - commit convention

커밋을 할 때, 내용을 어떻게 작성해야 나중에 보더라도 바로 떠오를 수 있을까? 고민을 많이해봤습니다.

나중에 제 토이 프로젝트의 commit을 보니 조그만한 수정, 삭제, 추가, 버그 수정 그리고 자잘한 띄어쓰기 수정까지. 제가 commit한 내용을 되돌아 보니 어느 것이 중요한 변경인지 찾기가 어려웠습니다.

소스 코드를 관리하기 위한 code convention도 있었지만, 우아한테크코스 작년 프리코스 GitHub를 살펴보면서 commit convention가 있다는 걸 알게되었습니다.

💡 요약 - commit message를 관리하기 편하게 작성하는 방법(commit convention)

<타입>[적용 범위(선택 사항)]: <설명>
(공백)
[본문(선택 사항)]
(공백)
[꼬리말(선택 사항)]

📚 참고 자료
1️⃣ conventional commits - https://www.conventionalcommits.org/ko/v1.0.0/

2️⃣ Angular commit convention - https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit

3️⃣ Vue js commit convention - https://github.com/vuejs/core/blob/main/.github/commit-convention.md

commit convention - 백상아리의 발칙한 상상

Fromitive

commit convention - 백상아리의 발칙한 상상

다음 내용이 궁금하다면?

또는

이미 회원이신가요?

2023년 10월 16일 오전 7:27

댓글 0