Commit Convention - dnd-side-project/dnd-11th-5-backend GitHub Wiki

Commit Convention

Commit Message Convention

format

type: subject

body

message type

  • ν•˜λ‚˜μ˜ 컀밋에 μ—¬λŸ¬ νƒ€μž…μ΄ μ‘΄μž¬ν•˜λŠ” 경우 μƒμœ„ μš°μ„ μˆœμœ„μ˜ νƒ€μž…μ„ μ‚¬μš©ν•œλ‹€.
  • fix: λ²„μŠ€ ν”½μŠ€
  • feat: μƒˆλ‘œμš΄ κΈ°λŠ₯ μΆ”κ°€
  • refactor: λ¦¬νŒ©ν† λ§ (λ²„κ·Έν”½μŠ€λ‚˜ κΈ°λŠ₯μΆ”κ°€μ—†λŠ” μ½”λ“œλ³€ν™”)
  • docs: λ¬Έμ„œλ§Œ λ³€κ²½
  • style : μ½”λ“œμ˜ μ˜λ―Έκ°€ λ³€κ²½ μ•ˆ λ˜λŠ” 경우 (띄어쓰기, ν¬λ§·νŒ…, μ€„λ°”κΏˆ λ“±)
  • test : ν…ŒμŠ€νŠΈμ½”λ“œ μΆ”κ°€/μˆ˜μ •
  • env : λΉŒλ“œ ν…ŒμŠ€νŠΈ μ—…λ°μ΄νŠΈ, νŒ¨ν‚€μ§€ λ§€λ‹ˆμ €λ₯Ό μ„€μ •ν•˜λŠ” 경우 (ν”„λ‘œλ•μ…˜ μ½”λ“œ λ³€κ²½ X)
  • hotfix

subject

  • 제λͺ©μ€ 50κΈ€μžλ₯Ό λ„˜μ§€ μ•Šλ„λ‘ ν•œλ‹€.
  • κ°œμ‘°μ‹ ꡬ문 μ‚¬μš©
    • μ€‘μš”ν•˜κ³  핡심적인 μš”μ†Œλ§Œ κ°„μΆ”λ €μ„œ (ν•­λͺ©λ³„λ‘œ λ‚˜μ—΄ν•˜λ“―μ΄) ν‘œν˜„
    • λ§ˆμ§€λ§‰μ— 특수문자λ₯Ό 넣지 μ•ŠλŠ”λ‹€. (λ§ˆμΉ¨ν‘œ, λŠλ‚Œν‘œ, λ¬ΌμŒν‘œ λ“±)