[Github] Commit Convention

Jnary·2024년 4월 8일
0

Concept

목록 보기
8/8
post-thumbnail

커밋을 기능별로 하는 게 중요하다는 것을 깨닫고 ...
커밋 컨벤션을 정리해보기로 했습니다.
매우 귀찮지만 ...
협업은 중요하니ㄲr ... ⭐️
디버깅할 때도 ...

양식

type: subject

body

footer

Type

  • feat
    - 새로운 기능 추가
  • fix
    - 버그 수정
  • docs
    - 문서 수정
  • style
    - 코드 포맷팅
    - 세미콜론 누락
    - 코드 변경이 없는 경우
  • refactor
    - 코드 리펙토링
  • test
    - 테스트 코드
  • chore
    - 빌드 업무 수정
    - 패키지 매니저 수정

Subject

  • 50자 넘기지 않기
  • 현재 명령어로 작성

Body

  • 선택 사항
  • 타이틀 외 추가 정보
  • 선택 사항
  • 보통 이슈 추적하기 위한 이슈 ID 기입 용도로 사용

Gitmoji

  • git + emoji
  • commit message 작성 tool
  • 🎨 :art: Improve structure / format of the code.
  • ⚡️ :zap: Improve performance.
  • 🔥:fire: Remove code or files.
  • 🐛 :bug: Fix a bug.
  • 🚑 :ambulance: Critical hotfix.
  • :sparkles: Introduce new features.
  • 📝 :memo: Add or update documentation.
  • 🚀 :rocket: Deploy stuff.
  • 💄 :lipstick: Add or update the UI and style files.
  • 🎉 :tada: Begin a project.
  • :white_check_mark: Add, update, or pass tests.
  • 🔒 :lock: Fix security or privacy issues.
  • 🔐 :closed_lock_with_key: Add or update secrets.
  • 🔖 :bookmark: Release / Version tags.
  • 💚 :green_heart: Fix CI Build.
  • ♻️ :recycle: Refactor code.
  • 🔍 :mag: Improve SEO.
  • 📱 :iphone: Work on responsive design.
  • 🍱 :bento: Add or update assets.

[참조] https://gitmoji.dev/

profile
숭실대학교 컴퓨터학부 21

0개의 댓글