https://github.com/ctrlaltdev/ccc
🗒️ Conventional Commit Checker
https://github.com/ctrlaltdev/ccc
commit conventional conventional-commits hook
Last synced: 9 months ago
JSON representation
🗒️ Conventional Commit Checker
- Host: GitHub
- URL: https://github.com/ctrlaltdev/ccc
- Owner: ctrlaltdev
- License: mpl-2.0
- Created: 2021-05-25T02:25:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-27T03:50:44.000Z (over 4 years ago)
- Last Synced: 2025-02-14T19:39:22.521Z (11 months ago)
- Topics: commit, conventional, conventional-commits, hook
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conventional Commit Checker
Will parse the commit message and will fail if it doesn't follow the convention: [Conventional Commits v1.0.0](https://www.conventionalcommits.org/en/v1.0.0/)
## Installation
```sh
brew install ctrlaltdev/tap/ccc
```
or
```sh
brew tap ctrlaltdev/tap
brew install ccc
```
## Automatic Git Hook Installation
From within the repository you want to install the hook in:
```sh
ccc -init
```
## Manual Git Hook Installation
```sh
echo ccc -f $@ >> .git/hooks/commit-msg
chmod a+x .git/hooks/commit-msg
```