Skip to content

chgwan/conventional_commits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Conventional_commits

introduction

A git hook for conventional git commits

This script follows the Conventional Commits to conventionalize your git commit.

Usage

cd <your_project_root_path>
curl https://raw.githubusercontent.com/chgwan/conventional_commits/refs/heads/main/commit-msg -o .git/hooks/commit-msg
chmod u+x .git/hooks/commit-msg

Uninstall

cd <your_project_root_path>
rm .git/hooks/commit-msg

Customization

Add / Remove types

Modify the file .git/hooks/commit-msg line 21 types=('build' 'docs' 'feat' 'fix' 'perf' 'refactor' 'style' 'test' 'chore' 'ci')

About

A git hook for conventional git commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages