How to enforce git commit messages longer than stupid shit like "abc" and "fix"?

This page summarizes the projects mentioned and recommended in the original post on /r/ExperiencedDevs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • cz-cli

    The commitizen command line utility. #BlackLivesMatter

  • Commitizen might help. You could make a precommit hook and have a script install it next time you he pulls, same way husky does on ‘npm post install’. That will get a push back from your developer though. This issue is best handled with him instead of enforcing tooling

  • git-hook-conventional-commits-validator

    A Git pre-commit hook which validates commit messages using Conventional Commits standard

  • Then, consider implementing something like conventional-commits-validator as a pre-commit check.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • release-please

    generate release PRs based on the conventionalcommits.org spec

  • false, https://www.conventionalcommits.org/ works very, very well for my team

  • commitizen

    Create committing rules for projects :rocket: auto bump versions :arrow_up: and auto changelog generation :open_file_folder:

  • While I agree with others, that this is not strictly a technical problem I think commitizen will let you do this, among other things.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts