title: "API ํค ์์ด ๋ก์ปฌ AI๋ก ์ปค๋ฐ ๋ฉ์์ง ์๋ ์์ฑ" description: "๋ด์ค - ์๋ฌธ ๊ธฐ๋ฐ ์์ฝ ํ์" date: 2026-06-16 tags: [ai-tool] source: "https://dev.to/bhargavirengarajan21/git-commit-at-generate-conventional-commit-messages-locally-with-ai-no-api-key-needed-1nc4" sidebar: order: 0
์ ๋ชฉ(ํ๊ธ): API ํค ์์ด ๋ก์ปฌ AI๋ก ์ปค๋ฐ ๋ฉ์์ง ์๋ ์์ฑ ์๋ฌธ ์ ๋ชฉ(์๋ฌธ): git-commit-at: Generate conventional commit messages locally with AI (no API key needed) ์๋ฌธ: git-commit-at: Generate conventional commit messages locally with AI (no API key needed) ์์ค: dev-to-ai MD ํ์ผ: content/2026-06-16/dev-to-ai-git-commit-at-generate-conventional-commit-message.md
ํต์ฌ ๋ด์ฉ
์ฝ๋ diff๋ฅผ ํด๋ผ์ฐ๋์ ์ฌ๋ฆฌ์ง ์๊ณ ๋ก์ปฌ AI๋ก ์ปค๋ฐ ๋ฉ์์ง๋ฅผ ์๋ ์์ฑํด์ฃผ๋ CLI ๋๊ตฌ git-commit-at์ด ๊ณต๊ฐ๋์ด์.
npm install -g git-commit-at ํ ์ค๋ก ์ค์นํ๋ฉด, staged diff๋ฅผ ๋ถ์ํด์ conventional commit ํ์ ๋ฉ์์ง 3๊ฐ๋ฅผ ์ ์ํด์ค์. Docker๋ก qwen2.5-coder:1.5b ๋ชจ๋ธ(์ฝ 1GB)์ ๋ก์ปฌ์์ ๋๋ฆฌ๋ ๋ฐฉ์์ด๋ผ API ํค๋, ํด๋ผ์ฐ๋ ์ ์ก๋ ์๊ฑฐ๋ ์.
JIRAยทLinear ํฐ์ผ ๋ฒํธ ์๋ prefix, ๋ธ๋์น ์๊ฐํ, ์ปค๋ฐ ํ์คํ ๋ฆฌ ์ถ์ ๊ธฐ๋ฅ๋ ํฌํจ๋ผ ์์ด์. ์ฒซ ๋ชจ๋ธ ๋ค์ด๋ก๋ ์ดํ์ ์ ์๊น์ง 5~10์ด๋ฉด ์ถฉ๋ถํ๊ณ ์.
๋ฏผ๊ฐํ ์ฝ๋๋ฒ ์ด์ค๋ ๋น๊ณต๊ฐ ๋ ํฌ์์ AI ์ปค๋ฐ ๋๊ตฌ๋ฅผ ๋ชป ์ฐ๋ ๋ถ๋คํํ ํ์ค์ ์ธ ๋์์ด ์๊ธด ๊ฑฐ์์.
์ก๋์ค์ ํ๋ง๋
API ํค๋ ํด๋ผ์ฐ๋ ์ ์ก๋ ์์ด์ ๋ฏผ๊ฐํ ๋น๊ณต๊ฐ ๋ ํฌ์์๋ AI ์ปค๋ฐ ๋๊ตฌ๋ฅผ ์ฒ์์ผ๋ก ์์ ํ๊ฒ ์ธ ์ ์๊ฒ ๋์ด์.
์ถ์ฒ: git-commit-at: Generate conventional commit messages locally with AI (no API key needed)