DEV Community

Cover image for How to Make Conventional Commits a Lasting Habit?
Francesco Bianco
Francesco Bianco

Posted on

1

How to Make Conventional Commits a Lasting Habit?

Conventional commits sound great in theory: structured, readable commit messages that make history tracking easier. But let's be honest—most of us try them for a few days and then fall back into our old habits. Why? Because it’s tedious to remember the exact syntax, and we often don’t have the patience to write proper commit messages when we’re in the zone.

The Problem: Conventional Commits Fade Away Quickly

If you've ever attempted to enforce conventional commits in your projects, you might have noticed this pattern:

  1. Day 1: You're excited and commit with messages like feat: add authentication module or fix: resolve login bug.
  2. Day 3: You start forgetting the exact format and write something like feat(auth): added stuff.
  3. Day 7: You're back to fix bug or wip, and conventional commits are a thing of the past.

It’s not that you don’t see the value—it’s just hard to stay consistent without frictionless tooling. That’s where convcommit comes in.

Meet Convcommit: Your Memory Booster for Commit Messages

convcommit is a simple but powerful CLI tool that ensures you never fall back into bad commit habits. It does a few things:

Guides you through commit message selection – No need to memorize commit types or scopes.

Stores and suggests your previous messages – If you’ve used a message before, you can quickly reuse it.

Works with git add . and git push seamlessly – Keeping your workflow fast and efficient.

How It Works

Using convcommit is straightforward:

  1. Install it (if you haven’t already):
   mush install convcommit
Enter fullscreen mode Exit fullscreen mode
  1. Run it whenever you commit:
   convcommit -a -p
Enter fullscreen mode Exit fullscreen mode
  1. Select the commit type, scope (if any), and message from suggestions or enter a new one.

That’s it! No more second-guessing your commit messages or breaking your commit history structure.

Why You Should Start Using It Today

  • Develop muscle memory: The more you use it, the more natural conventional commits become.
  • Maintain a clean commit history: Future-you (and your teammates) will thank you.
  • Boost your personal branding: Writing clean commits is a sign of professionalism in open-source projects.

Try It Now and Make Your Commits Count!

You can check out convcommit on GitHub, give it a star ⭐, and start using it today:

👉 GitHub Repo

Let me know what you think, and if you have ideas for improvements, PRs are always welcome! Happy committing! 🚀

Heroku

Amplify your impact where it matters most — building exceptional apps.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay