Git commit style guide
Git Commit ๋ฉ์ธ์ง ์คํ์ผ
commit convention
{type}: {file or function} - { description }
ex) feat: src/main.js
ex) Modify: components/item.js - getItem ์ปดํฌ๋ํธ ๊ตฌํ
-
type
- Feat โ ๊ธฐ๋ฅ ์ถ๊ฐ
- Modify โ ๋ก์ง ์์ ์ด๋ ๋ณํ ํจ์ ๋ถ๋ฆฌ ๋ฑ
- Delete โ ํด๋น ๋ถ๋ถ ์ญ์
- Docs โ readme , ์ฃผ์
- Fix โ ๋ฒ๊ทธ ์์
- Chore โ ํ๊ฒฝ ์ค์
-
file, function
- ํ์ผ๋ช
?
- ์ปดํฌ๋ํธ ์ด๋ฆ
- ๊ธฐ๋ฅ์ด๋ ์๋ ํจ์ ์ด๋ฆ
-
description
- ํ๊ธ๋ก ๊ฐ๋จํ๊ฒ ์ปค๋ฐ ๋ด์ฉ ์ค๋ช
๊ท์น
- ๊ธธ์ด๋ 50์ ์ดํ๋ก ์์ฑํ๋ค.
- ๋์๋ ๋ง์นจํ๋ฅผ ๋ถ์ด์ง ์๋๋ค.
link
https://techblog.woowahan.com/2553/
commit rule
โ https://udacity.github.io/git-styleguide/