How to use git commits effectively

Denise Rigato
Nov 6 · 3 min read

Four simple rules to keep your git commits and commit history clean.

It’s important to keep our commits clean and write clear commit messages for a number of reasons. We want all contributors of the project to know what changes have been made when they check the commit history and to read and understand those changes with ease. The following four rules can help you achieve that.

Keep the story going. Sign up for an extra free read.

You've completed your member preview for this month, but when you sign up for a free Medium account, you get one more story.
Already have an account? Sign in

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade