반응형
⭕ Git & GitHub | 커밋 메세지 규칙 - Git Commit Message Conventions
- https://gist.github.com/stephenparish/9941e89d80e2bc58a153
- Any line of the commit message cannot be longer 100 characters.
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
➡️ Subject line
- Allowed <type>
- feat (feature)
- fix (bug fix)
- docs (documentation)
- style (formatting, missing semi colons, …)
- refactor
- test (when adding missing tests)
- chore (maintain)
- Allowed <scope>
- Scope could be anything specifying place of the commit change
- For example $location, $browser, $compile, $rootScope, ngHref, ngClick, ngView, etc...
- <subject> text
- use imperative, present tense: “change” not “changed” nor “changes”
- don't capitalize first letter
- no dot (.) at the end
➡️ Message body
- just as in use imperative, present tense: “change” not “changed” nor “changes”
- includes motivation for the change and contrasts with previous behavior
➡️ Message footer
- Breaking changes : All breaking changes have to be mentioned in footer with the description of the change, justification and migration notes
- Referencing issues : Closed bugs should be listed on a separate line in the footer prefixed with "Closes" keyword
반응형
'프론트엔드 > Git & GitHub' 카테고리의 다른 글
Git & GitHub | 브랜치 관리 : GitHub flow, Git flow (74) | 2024.05.14 |
---|---|
Git & GitHub | 포크(Fork), 클론(Clone), 브랜치(Branch), git add, commit, git push, Pull Request (PR) (74) | 2024.05.14 |
Git & GitHub | 깃(Git)과 깃허브(GitHub) (0) | 2023.03.10 |