from Hacker News

Why I care about commit quality

by david90 on 1/12/18, 10:14 AM with 1 comments

  • by onion2k on 1/12/18, 10:20 AM

    The article doesn't mention it, but you can lint your git commits to enforce a style (eg https://github.com/jorisroovers/gitlint). Developers are human, and will sometimes forget to follow a process so using a tool to improve quality is more likely to achieve the desired result.

    Alternatively, use a tool that makes commits in a more rigorous way. Eg https://github.com/commitizen/cz-cli