These rules are adopted from the AngularJS commit conventions.
In the last few years, the number of programmers concerned about writing structured commit messages have dramatically grown. As exposed by Tim Pope in article readable commit messages are easy to follow when looking through the project history. Moreover the AngularJS contributing guides introduced conventions that can be used by automation tools to automatically generate useful documentation, or by developers during debugging process.
This document borrows some concepts, conventions and even text mainly from these two sources, extending them in order to provide a sensible guideline for writing commit messages.
μκ³ λ¦¬μ¦μ΄λΌκ³ λ§μ΄ λ€μ΄λ³΄μ ¨μ κ²λλ€. μκ³ λ¦¬μ¦μ κ΅κ³ΌμμμΌλ‘ μ μν΄λ³΄λ©΄ 'λ¬Έμ λ₯Ό ν΄κ²°νλ μΌλ ¨μ μ μ°¨'λΌκ³ ν μ μλλ°μ. μ»΄ν¨ν°λ‘ μ΄λ€ λ¬Έμ λ₯Ό ν΄κ²°ν΄μΌ ν λ, μ½λ©μΌλ‘ μ΄λ»κ² ν΄κ²°ν μ§μ λν ꡬ체μ μΈ λ°©λ²μ μ΄μΌκΈ°ν©λλ€.
μλ₯Ό λ€μ΄, μ«μ λ°°μ΄μ μ λ ¬νλ λ¬Έμ κ° μλ€κ³ ν©μλ€. μΈκ°μ΄ λ°°μ΄μ λμΆ© λ³΄κ³ μ λ ¬νκΈ°λ μ½μ§λ§ μμμ κ°μκ° μλ°±λ§κ°μ λ¬νλ λ°°μ΄μμ μ»΄ν¨ν°μκ² μΌμ μμΌμ μ»΄ν¨ν°κ° μ λ ¬νκ² νλ κ²μ μ½μ§ μμ΅λλ€. μ€μ λ‘ μ λ ¬μ μκ³ λ¦¬μ¦μμ λ§€μ° μ λͺ νκ³ κΈ°μ΄μ μΈ λΆμΌλ‘ μ λ ¬μ νλ λ°©λ², μ¦ μκ³ λ¦¬μ¦μ΄ μ§κΈκΉμ§ μλ €μ§ κ²λ§ ν΄λ μμκ°μ§κ° λ©λλ€.
μκ³ λ¦¬μ¦μ 곡λΆνλ κ²μ κ½€ λμμ΄ λλλ°μ. μΌλ¨ μ½λ©μ μμνμλ λΆλ€ μ μ₯μμλ μ½λ©μ νκ² λμ μ½λ©κ³Ό λ¬Έλ²μ μ΅μν΄μ§λ μ₯μ μ΄ μκ³ , λ κ°λ°μμ μ¬κ³ λ₯Ό νλ λ° μκ³ λ¦¬μ¦ λ¬Έμ λ₯Ό νΈλ κ²μ΄ λμμ΄ λ©λλ€. μ΄λ€ κ°λ° νμ¬λ€μ μκ³ λ¦¬μ¦ λ₯λ ₯μ ν μ€νΈνκΈ° λλ¬Έμ μ·¨μ μ λͺ©νλ‘ κ³΅λΆνμ λ€λ©΄ μν΄λ λ³΄μ§ μμ΅λλ€.
μ λ μκ³ λ¦¬μ¦μ μ’μν΄μ μ‘°κΈμ© νμ΄μλλ°μ. μκ³ λ¦¬μ¦μ ν μ μλλ‘ λ¬Έμ λ₯Ό λ΄μ£Όλ μ¬μ΄νΈλ€μ΄ μ λ§ λ§μ΅λλ€. μ€λμ κ·Έμ€μμ λͺ κ°μ§λ§ μκ°ν΄λλ¦¬κ² μ΅λλ€. μ¬μ΄νΈλ μ λ§ λ§μλ°μ, κ·Έμ€μμ μ κ° μ΅μ λͺ λ²μ΄λΌλ μ¨λ³Έ μ¬μ΄νΈλ€λ§ μκ°νκ² μ΅λλ€. λ μ’μ μ¬μ΄νΈλ€μ΄ μμΌλ©΄ μκ°ν΄μ£Όμλ©΄ μΆκ°ν μ μμ κ² κ°μ΅λλ€.