sanmong / SKKU_Trip_Checker

Real-time Congestion Checker for Popular Places
MIT License
0 stars 1 forks source link

[TODO] git commit template 사용 #5

Closed olenmg closed 1 year ago

olenmg commented 1 year ago

Commit message에 컨벤션이 있으면 추후 레포지토리 관리시에 좋을 것 같습니다.

사용법

touch ~/.gitmessage.txt

.gitmessage.txt에 아래 template 복사

# <type>: <subject>
##### Subject 50 characters ################# -> |

# Body Message
######## Body 72 characters ####################################### -> |

# Issue Tracker Number or URL

# --- COMMIT END ---
# Type can be
#   feat    : new feature
#   fix     : bug fix
#   refactor: refactoring production code
#   style   : formatting, missing semi colons, etc; no code change
#   docs    : changes to documentation
#   test    : adding or refactoring tests
#             no productin code change
#   chore   : updating grunt tasks etc
#             no production code change
# ------------------
# Remember me ~
#   Capitalize the subject line
#   Use the imperative mood in the subject line
#   Do not end the subject line with a period
#   Separate subject from body with a blank line
#   Use the body to explain what and why vs. how
#   Can use multiple lines with "-" for bullet points in body
# ------------------

git config --global commit.template ~/.gitmessage.txt 적용

꼭 사용하자고 하는건 아닌데, 커밋 메세지에 규칙이 있으면 좋을 것 같아 건의합니다. 원하시면 사용해주세요. 확인 후 댓글 달아주시면 이슈 닫겠습니다.

refer: https://kkangsg.tistory.com/95

JackCokebb commented 1 year ago

확인했습니다!

sanmong commented 1 year ago

확인했습니다!