Conventional Commits to keep git history clean
Dima Sukharev
Posted on March 14, 2023
Conventional Commits is a specification for adding human and machine readable meaning to commit messages
Here are the types of Conventional Commits:
feat
— adds a new feature.
feat: Add login page
fix
— fixes a bug.
fix(api): Return 404 for invalid endpoints
docs
— add/update a documentation, no code is touched
docs(readme): Update installation instructions
chore
— update deps
chore: Update dependencies
Using Conventional Commits can help make your commit messages clearer and easier to understand. By using a consistent format, you can convey important information about the changes you made and help others understand the progress of your project.
i was tired of lame 1 line commits and wasting time switching context and recalling the changes I have made, so I open-sourced a library OpenCommit that makes conventional commits for you in just 2 keys oc
typed in a terminal.
i know it's impressive, i'll probably impress the world more with other extraordinary inventions, you may follow my bird twitter
Posted on March 14, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.