This repository is dedicated to Algorithm Problem Solving and includes a Commit Lint setup to maintain a consistent Git commit message style.
Use the .gitmessage file and Git Hooks to apply a commit message template and enforce commit message validation.
# Set commit template
git config --global commit.template ./githook/.gitmessage
# Set Git hooks path
git config core.hooksPath ./githook
# Grant execute permission to the commit-msg hook
chmod +x githook/commit-msgWith this setup, every commit will follow predefined message rules.
.
βββ githook/
β βββ commit-msg # Commit message validation script
β βββ .template # Commit message template
βββ baekjoon/
β βββ ... # Baekjoon Algorithm problem-solving code
βββ programmers/
β βββ ... # Programmers Algorithm problem-solving code