---
title: "Discussion on \"Good Commits\" | Hashnode"
description: "Discussion on \"Good Commits\". Writing better commit messages allows us to preserve the history of the codebase, aids in debugging, refactoring and understanding the changes better"
url: "https://hashnode.com/posts/good-commits/6094ed61d1bbc47b91a67efd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Good Commits](https://hashnode.king-11.dev/good-commits?utm_source=hashnode&utm_medium=feed)

Writing better commit messages allows us to preserve the history of the codebase, aids in debugging, refactoring and understanding the changes better

May 7, 2021 · 3 min read · hashnode.king-11.dev  
Updated Oct 26, 2025  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#devops](https://hashnode.com/tag/devops)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[Lakshya Singh](https://hashnode.com/@king-11)

@king-11 · Jaipur, India

  
[View profile](https://hashnode.com/@king-11)

My Reactive Vue Flutters

I was introduced to the world of programming and software development in my first year. Since then, I have been very enthusiastic about deep diving into various fields of Computer Science. The areas that capture my interests are Operating Systems, Compilers, Distributed Systems, Databases, Big Data, Bitcoin, Data Structures and Algorithms. Open Source is . I am an avid open source contributor. I try to contribute to open source projects that I use and find interesting at times in any capacity possible. You can find my contributions on my Github/Gitlab Profile. I started my journey with good first's maybe you can too :)

## Responses 3

Markdown supported · ⌘↵ to post

[Purushottam Tiwari](https://hashnode.com/@meluhan)

[Jul 3, 2021](https://hashnode.com/posts/good-commits/6094ed61d1bbc47b91a67efd/comment/60e09b3603707d644a501134)

Wow you described the importance of good commits in a wonderful way.

On a semi-related note, we can use [git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) (especially my favorite `pre-commit` hook) to run some quick checks like lints to avoid having faulty commits.

[Arpit Shukla](https://hashnode.com/@arpitshukla)

[May 7, 2021](https://hashnode.com/posts/good-commits/6094ed61d1bbc47b91a67efd/comment/609524bbd2b17b7fc35f3079)

Nice blog 👍
