Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add sample shell script to commit-msg script
To ensure commit messages are written with a clear description, a sample shell script is added to the commit-msg script. The script checks if the commit message follows the rules set on https://chris.beams.io/posts/git-commit/#seven-rules and aborts the commit if the rules are broken. The script should not check git commit messages that has the '-m' tag, since the tag can be used for commits that does not require extensive explanation.
- Loading branch information