feat : new features
fix : fix something, e.g bugs
ref : refactor code
docs : documentation
chore : change to the build process, e.g add depedencies
style : not affect to the code, e.g formatting, missing semi-colons, white space, etc
test : add test or correcting existing tests
Example :
git commit -m "feat: add register"
git commit -m "fix: nullable name at register page"
git commit -m "ref: make the code short and simple at register handler"
git commit -m "docs: add the documentation at register page"
git commit -m "style: add some white space at register handler to handle the confusion"
git commit -m "test: add test for register handler"