Skip to content

Instantly share code, notes, and snippets.

@knowankit
Created November 24, 2019 04:25
Show Gist options
  • Save knowankit/0e87663f53bb14e51662cfb401479f03 to your computer and use it in GitHub Desktop.
Save knowankit/0e87663f53bb14e51662cfb401479f03 to your computer and use it in GitHub Desktop.
A cheat sheet for a better commit messages
type feature -> title: Features, description: A new feature
type fix -> title: Bug Fixes, description: A bug fix
type docs -> title: Documentation, description: Documentation only changes
type style -> title: Styles, description: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
type refactor -> title: Code Refactoring, description: A code change that neither fixes a bug nor adds a feature
type perf -> title: Performance Improvements, description: A code change that improves performance
type test -> title: Tests, description: Adding missing tests or correcting existing tests
type build -> title: Builds, description: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
type ci -> title: Continuos Integration, description: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
type chore -> title: Chores, description: Other changes that don't modify src or test files
type revert -> title: Reverts, description: Reverts a previous commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment