Hey there!
Some days ago I published about Patterns for writing better git commit messages, it's just the entry point to this discussion.
I know Git
offers a lot of functionalities who can help in our day to day if we know how to use it and that's the purpose of this discussion.
Let's improve our knowledge about Git and how to use the best from Git.
Fell free to share your thoughts on the comments, it will be nice to discuss about.
Hey, I'm very interested in this topic. I use a general template for commit messages that Linus himself suggested
Single problem is that when I'm doing let's say multiple commits on a feature, for the first commit I use the template(that i have set up as default) and for the other commits i use -m messages
When the feature is ready for Pull Request, basically i do an interactive rebase for the specific feature where I squash all the commits into a single one and use message template
After that I force a push on the feature branch and rewrite all the commits into a single one for a specific feature branch
Here is the message template: