Skip to content

Instantly share code, notes, and snippets.

@justinbalaguer
Last active June 10, 2022 09:46
Show Gist options
  • Save justinbalaguer/a56ac05c0f9265d605706d87aa71f3a6 to your computer and use it in GitHub Desktop.
Save justinbalaguer/a56ac05c0f9265d605706d87aa71f3a6 to your computer and use it in GitHub Desktop.
Git commit message convention

build: Build related changes (e.g npm related/ adding external dependencies)
chore: A code change that external user won't see (eg: change to .gitignore file or .prettierrc file)
feat: A new feature
fix: A bug fix
docs: Documentation related changes
refactor: A code that neither fix bug nor adds a feature. (eg: You can use this when there is semantic changes like renaming a variable/ function name)
perf: A code that improves performance
style: A code that is related to styling
test: Adding new test or making changes to existing test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment