Skip to content

lightaylor/algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Algorithm Problem Solving

πŸ“Œ Overview

This repository is dedicated to Algorithm Problem Solving and includes a Commit Lint setup to maintain a consistent Git commit message style.

πŸ”§ Commit Lint Local Setting

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-msg

With this setup, every commit will follow predefined message rules.

πŸ“ Project Structure

.
β”œβ”€β”€ baekjoon/
β”‚   └── ...                        # Baekjoon algorithm solutions
β”œβ”€β”€ githook/
β”‚   β”œβ”€β”€ commit-msg                 # Commit message validation script
β”‚   └── .template                  # Commit message template
β”œβ”€β”€ docs/
β”‚   └── pull_request_template.md   # Pull request template
β”œβ”€β”€ programmers/
β”‚   └── ...                        # Programmers algorithm solutions
└── util/
    β”œβ”€β”€ TestUtil.java              # I/O test utilities
    └── ThrowingRunnable.java      # Runnable allowing checked exceptions

About

Algorithm Problem Solving

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published