Skip to content

Instantly share code, notes, and snippets.

@alexweber
Created June 5, 2018 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save alexweber/502494e55ebca1df855cad1e65715817 to your computer and use it in GitHub Desktop.
Save alexweber/502494e55ebca1df855cad1e65715817 to your computer and use it in GitHub Desktop.
Git Commit Conventions

Git Commit Conventions

Commit Conventions

<type>(scope): message

Types

  • feat (features)
  • fix (bug fixes)
  • docs (documentation/docblocks)
  • style (formatting, missing semi colons)
  • test (when adding/updating tests)
  • chore (general maintenance, minor stuff)
  • refactor
  • revert (should include the previous commit message in it's entirety)

Scopes

Depends on project, for portals:

  • wigeon
  • rp
  • sp
  • af
  • wf

Examples

  • feat(sp): enable state deadlines for submission portals
  • fix(wf): bug when solar eclipse
  • refactor(wigeon): make everything better
  • revert: refactor(wigeon): make everything better
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment