Member-only story

How to Take Your Git Commit Messages to The Next Level With a Commit Template

Efren Marin
5 min readDec 21, 2022

--

Whether you’re working on a solo project or part of a development team, you will have had multiple commit messages that don’t always make sense. Whether it’s the infamous “WIP” or a vague description that doesn’t encapsulate the whole story, we’re all guilty of this.

Allow me to share what has worked for me and what I’ve introduced to my development team for our daily git commits. With some planning beforehand, this will show you how to set up a git commit template for cleaner and concise messages.

Overview

Having a commit template embedded into your workflow not only allows for more detailed and precise commit messages but it also sets a standard for teams to follow.

I’ll break down the steps needed into segments.
- How to create a template file that git can use.
- How to set up a custom template on your machine.
- How to actually use it.

Creating a Template

--

--

Efren Marin
Efren Marin

Written by Efren Marin

Software Developer building the web one <div> at a time

No responses yet