git-bug, git-cola, gitlint: add page (#6444)

This commit is contained in:
JaiJoshi123
2021-09-04 04:11:14 +05:30
committed by GitHub
parent 96306c0c94
commit ac40409bbe
3 changed files with 85 additions and 0 deletions

28
pages/common/gitlint.md Normal file
View File

@@ -0,0 +1,28 @@
# gitlint
> Git commit message linter checks your commit messages for style.
> More information: <https://jorisroovers.com/gitlint/>.
- 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}}`
- Start a specific CI job:
`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`