Post

The GIT commit mentality

Commit messages are crucial for maintaining a clear history of changes in your project. They should be concise, clear, and follow a consistent format. In your case, you want to use the format “When I push, I will…”.

Here’s an example of how you might fill out the commit message:

“When I push, I will update the generator section in the 2024-03-24-spells.md file.”

This commit message clearly states what changes will be made when the commit is pushed. It specifies the file that was changed and the section within that file that was updated. This way, anyone looking at the commit history can quickly understand what this commit does.

Thus far i have been a sinner.

This post is licensed under CC BY 4.0 by the author.

Comments powered by Disqus.