System Grab Bag

View all TLDR pages from common (or from all pages)

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.