Skip to content

Instantly share code, notes, and snippets.

@eftakhairul
Last active March 7, 2022 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eftakhairul/014b65df39727afa58ac396ba3bd166a to your computer and use it in GitHub Desktop.
Save eftakhairul/014b65df39727afa58ac396ba3bd166a to your computer and use it in GitHub Desktop.
GIT Commit Message

Commit Messages

Format: <type>(<scope>): <subject>

<scope> is optional

Example

fix(middleware): ensure Range headers adhere more closely to RFC 2616

Message Types

  • build: Build related changes (eg: 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