gitlint
Git commit message linter checks your commit messages for style.
- Check the last commit message:
gitlint
- The range of commits to lint:
gitlint --commits {single_refspec_argument}
- Path to a directory or python module with extra user-defined rules:
gitlint --extra-path {path/to/directory}
gitlint --target {path/to/target_directory}
- Path to a file containing a commit-msg:
gitlint --msg-filename {path/to/filename}
- Read staged commit meta-info from the local repository:
gitlint --staged
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).