Skip to content

Instantly share code, notes, and snippets.

@leompeters
Last active May 7, 2020 18:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leompeters/d606351bf5f7db17e5cf0a22e11b803e to your computer and use it in GitHub Desktop.
Save leompeters/d606351bf5f7db17e5cf0a22e11b803e to your computer and use it in GitHub Desktop.
Some rules to use on your git commit messages.

Git Patterns

Some rules to use on your git commit messages.

Commit Messages:

[jira issue] #[action] : [issue description]

Actions:

  • Feature #feat (feature)
  • Chore #chore (maintain)
  • Add #add (new feature)
  • Fix #fix (bug fix)
  • Change #change (task)
  • Update #update (task, due to changes in third-party code)
  • Documentation #docs (documentation)
  • Styles #style (formatting, missing semi colons, …)
  • Refactor #refact (when optimizing or organizing the project files)
  • Test #test (when adding missing tests)
  • Configurations #config (when need to setup an environment or tool)

Examples:

[INSPIRE-101] #docs : Create new Node.js Style Guide document #open INSPIRE-123 docs,fix : There was at typo about foo #comment Please QA my changes #resolve

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