Sachin Shah’s Post

One change that saved me hours every week: I stopped writing Git commit messages like this: "fix bug" "update file" "changes" "wip" And started writing them like this: "fix: resolve N+1 query on user dashboard endpoint" "feat: add background job for email notifications" "refactor: extract payment logic into service class" "chore: update PostgreSQL version in docker-compose" The format: type: short description of what and why Types I use: → feat - new feature → fix - bug fix → refactor - code change with no behaviour change → chore - maintenance, config, dependencies → docs - documentation only → test - adding or updating tests Why it matters: 6 months later, when something breaks in production, you can read the git log and actually understand what changed and why. "fix bug" tells you nothing. "fix: prevent duplicate payments on network retry" tells you everything. Your teammates will thank you. Your future self will thank you. This is the Conventional Commits standard. Takes 10 seconds to learn. Saves hours to benefit from. What does your commit message style look like? Show me your best (or worst) example below. Follow Sachin Shah - daily developer workflow and backend engineering tips that actually matter. #git #Github #SoftwareDevelopment #Python

  • logo, company name

To view or add a comment, sign in

Explore content categories