Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Its called conventional commits https://www.conventionalcommits.org/


Yea the structure matches what you said but not really using the set of words called out in that example like "feat" "chore" etc.. Personally I find that less useful than categorized tags that the developers just choose as they go along and are meant as a thing to help you read the commit, not to actually fit into a perfect index of possible tags that are controlled someplace. Here's an example of the categorization scheme in use (plenty of other examples out there). https://gitlab.freedesktop.org/mesa/mesa/-/commits/main


I prefix with the "project/directory name" for [my dotfiles](https://github.com/YodaEmbedding/dotfiles), e.g. nvim:, zsh:, tmux:, i3:.

Nearly everything is a feat or fix, but it's much more useful to know which project it applies to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: