GITLINT,(1)
π GITLINT π
okay so bestie, welcome to the manual page for gitlint, manual section 1, user commands π she's a Git commit message linter and she's literally the friend who reads your commit messages and gently tells you they're a mess π
β¨ NAME β¨
gitlint, β Git commit message linter πΈ
β¨ SYNOPSIS β¨
gitlint [OPTIONS] COMMAND [ARGS]...
β¨ DESCRIPTION β¨
Git lint tool, checks your git commit messages for styling issues π¦
Documentation lives at http://jorisroovers.github.io/gitlint β go read it, it's giving thorough π
β¨ OPTIONS β¨
--target DIRECTORYβ Path of the target git repository. [default: current working directory] π-C,--config FILEβ Config file location [default:.gitlint] ποΈ-c TEXTβ Config flags in format<rule>.<option>=<value>(e.g.:-c T1.line-length=80). Flag can be used multiple times to set multiple config values. π--commit TEXTβ Hash (SHA) of specific commit to lint. π--commits TEXTβ The range of commits (refspec or comma-separated hashes) to lint. [default: HEAD] π-e,--extra-path PATHβ Path to a directory or python module with extra user-defined rules π§--ignore TEXTβ Ignore rules (comma-separated by id or name). π--contrib TEXTβ Contrib rules to enable (comma-separated by id or name). π--msg-filename FILENAMEβ Path to a file containing a commit-msg. π--ignore-stdinβ Ignore any stdin data. Useful for running in CI server. π₯οΈ--stagedβ Attempt smart guesses about meta info (like author name, email, branch, changed files, etc) for staged commits. π§--fail-without-commitsβ Hard fail when the target commit range is empty. π-v,--verboseβ Verbosity, use multiple times for more verbose output (e.g.:-v,-vv,-vvv). [default:-vvv] π£οΈ-s,--silentβ Silent mode (no output). Takes precedence over-v,-vv,-vvv. π€«-d,--debugβ Enable debugging output. π--versionβ Show the version and exit. β--helpβ Show this message and exit. π«Ά
π Commands: π
generate-configβ Generates a sample gitlint config file. β¨install-hookβ Install gitlint as a git commit-msg hook. πͺlintβ Lints a git repository [default command] π₯run-hookβ Runs the gitlint commit-msg hook. πuninstall-hookβ Uninstall gitlint commit-msg hook. π«
When noCOMMANDis specified, gitlint defaults to'gitlint lint'. no cap π§’
β¨ SEE ALSO β¨
The full documentation for gitlint, is maintained as a Texinfo manual. If the info and gitlint, programs are properly installed at your site, the command
info gitlint,
should give you access to the complete manual. π
and that's the whole thing bestie!! this was gitlint, version 0.19.1, dated May 2025, and yes the manual page is literally named GITLINT,(1) β iconic, periodt π
β¨π
π¦ where this page comes from
- debian trixie: gitlint 0.19.1-6 Β· MIT
- ubuntu questing: gitlint 0.19.1-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms