Skip to content

Git convention

SeoSeunghun edited this page Aug 20, 2023 · 5 revisions

Git Convention

๊ธฐ๋ณธ์ ์œผ๋กœ Git Commit Convention์€ AngularJS Git Commit Message Conventions ์„ ๋”ฐ๋ฅธ๋‹ค.

Commit Convention

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

Type

  • feat : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
  • fix : ๋ฒ„๊ทธ ์ˆ˜์ •
  • docs : ๋ฌธ์„œ ์ˆ˜์ •
  • style : ์ฝ”๋“œ ํฌ๋งทํŒ…, ์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ์ฝ”๋“œ ๋ณ€๊ฒฝ์ด ์—†๋Š” ๊ฒฝ์šฐ
  • refactor : ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง
  • test : ํ…Œ์ŠคํŠธ ์ฝ”๋“œ, ๋ฆฌํŒฉํ† ๋ง ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
  • chore : ๋นŒ๋“œ ์—…๋ฌด ์ˆ˜์ •, ์œ ์ง€

Subject

์–ด๋–ค ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ–ˆ๋Š”์ง€, ํ˜น์€ ์–ด๋–ค ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ์ƒ๊ฒผ๋Š”์ง€๋ฅผ ์ž‘์„ฑํ•œ๋‹ค.

Body

ํ•„์š”์— ๋”ฐ๋ผ, ๊ตฌ์ฒด์ ์œผ๋กœ ์–ด๋–ค ๊ธฐ๋Šฅ์„ ์–ด๋–ป๊ฒŒ ๊ตฌํ˜„ํ–ˆ๋Š”์ง€์— ๋Œ€ํ•œ ๋‚ด์šฉ์„ ์ž‘์„ฑํ•œ๋‹ค.

Clone this wiki locally