Standard Git Commit Prefixes
These are prefixes suggested by What Sticks Code Companion my GPT from ChatGPT that specializes on What Sticks. But I think these align with other documentation.
feat: Indicates a new feature for the user, not a new feature for a build script.
fix: Fixes a bug.
docs: Documentation only changes.
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
refactor: A code change that neither fixes a bug nor adds a feature.
perf: A code change that improves performance.
test: Adding missing tests or correcting existing tests.
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation.
When you're working with the What Sticks API, these prefixes can help you organize your commits related to different aspects of the project. For instance:
feat (WSAPI): Add new endpoint /new_feature in bp_users Blueprint.
fix (WSAPI): Resolve hashing issue in user password reset.
docs (WSAPI): Update README with new authentication flow.
refactor (WSAPI): Refactor /login route for improved error handling.