Skip to content

Instantly share code, notes, and snippets.

@ma7dev
Created November 23, 2022 19:29
Show Gist options
  • Save ma7dev/1be5525ff89faa575b0dea99200411af to your computer and use it in GitHub Desktop.
Save ma7dev/1be5525ff89faa575b0dea99200411af to your computer and use it in GitHub Desktop.
git commit template
type(scope): Subject
##################################################
# type:
# feat - A new feature
# fix - A bug fix
# chore - Other changes that don't modify src or test files
# build - Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
# refactor - Refactoring a specific section of the codebase
# ci - Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
# perf - A code change that improves performance
# revert - Reverts a previous commit
# docs - Everything related to documentation
# style - Everything related to styling
# test - Adding missing tests or correcting existing tests
# scope:
# A noun describing a section of the codebase affected by the changes (or simply the epic name) surrounded by parenthesis
# subject:
# This contains a short description of the changes made. It shouldn't be greater than 50 characters, should begin with
# a capital letter and written in the imperative eg. Add instead of Added or Adds
#########################################################################
#########################################################################
# Body #
#########################################################################
# What and Why
<body>
Resolves #
Reviewed-by: @
Refs #
See also #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment