Oxycon Blog
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
Add commit message validator using Ruby and Lefthook

Add commit message validator using Ruby and Lefthook

Enforce consistent commit messages with a small Ruby script and Lefthook: a commit-msg hook that reads .git/COMMIT_EDITMSG, validates prefixes like feat, fix, or docs against a regex, and rejects bad messages before they land. Full script and Lefthook config included.

Jan 1, 2024

ruby

Latest

Page 1 of 1
Oxycon Blog

Thought stories and ideas to Oxygenate You, Your product and The World in practice.

Explore

  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS

© 2026 Oxycon Blog. All rights reserved.

We use cookies to improve our services.