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 no COMMAND is 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