cross-posted from: https://lemmy.sdf.org/post/1352760
Was digging through a project at work today where some guy in 2014 made 100+ commits in a single day and the only one that had a comment said “upgrading to v4.0”.
cross-posted from: https://lemmy.sdf.org/post/1352760
Was digging through a project at work today where some guy in 2014 made 100+ commits in a single day and the only one that had a comment said “upgrading to v4.0”.
We have a monorepo with multiple websites and applications, we also use azure DevOps. Our commit messages are formatted like this: {website/application} - {feature} - {brief description} - {#work item} so e.g. “Auth - MFA - auto focus login field #162589”
The most beneficial part is the work item number, being able to link the code changes directly to the business logic is huge.
Also beneficial for bug fixes, push the commit with the bug id and the code changes are linked on the ticket automatically.
Oh I like the work item number idea. We’ve been putting in a line to explain why the change is being made. Being able to link directly to a card or something is noice.