bene : studio is a global consultancy, helping startups, enterprises and HealthTech companies to have better product
How we use Git commit messages
At bene : studio we love knowledge sharing to help the community of professionals. This is why we are launching an open source knowledge base on our blog, which we are going to update regularly.
These solutions come from our internal workshops with our team of developers and engineers.
GUIDELINE FOR BENE : STUDIO GIT COMMIT MESSAGES
Commit messages are an important means of communication between developer team members. It is true for greenfield projects too, but essential for modifying and maintaining older projects. Here at bene : studio we discussed in detail what kind of commit message style fits our development process best.
We shared our experiences with current commit messages within the team and read various articles about good commit messages (see the references below).
At our internal workshop we came up with the following commit template:
PROJ-001: feat: Initial commit
- PROJ-001 is the corresponding JIRA ticket number
- “feat” is one of the following: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test
- Initial commit is the subject of commit.
Since we are using Atlassian products for project management (JIRA) and Git repository (Bitbucket), the ticket number becomes a link where we can easily check the details of the corresponding task. This template also ensures that we never work on a task without a corresponding JIRA ticket – an essential rule of a responsible, managed working style.
To ensure that all commits are following this template, we are using a great open source tool called commitlint (https://commitlint.js.org/#/) and customized it to our needs.
We felt that our commitlint setup is quite straightforward and can be used by the open source community. Therefore we published it as an NPM package:
Feel free to use it or modify it according to your needs. Any feedback is welcome.
Visit our page on Github as well to find more materials on various topics.
This article was written by bene : studio team a global digital product consultancy. From planning to delivery the studio helps startups, enterprises and HealthTech companies to have better products.
Visit our join us page if you fancy working at the studio!
Read moreSee all open source
Using Schedulers and Cron in Node.JS
Follow out tutorial and learn about scheduling in Node JS
Principles of wiriting clean code
Lessons we learned from our favourite book on software development.
Why we love Next.js and server-side rendering
You should use Next.js because of its benefits in SEO, Integrated routing, pre-rendering and styling.
Integrating Garmin into a running app
Learn how we integrated Garmin library into the Coopah running companion app and what challenges we came accross.
Functional programming in Java with examples
See examples if this style of programming, to make code more concise and less complex.
Let bene : studio enhance
your digital product!