gitlint
Git commit message linter checks your commit messages for style. More information: https://jorisroovers.com/gitlint/.
- Check the last commit message:
gitlint
- Lint a specific range of commits:
gitlint --commits
- Use a directory or Python module with extra user-defined rules:
gitlint --extra-path
- Start a specific CI job:
gitlint --target
- Lint a commit message from a specific file:
gitlint --msg-filename
- Read staged commit meta-info from the local repository:
gitlint --staged
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
