Skip to content

Instantly share code, notes, and snippets.

@agmm
Last active February 19, 2020 19:19
Show Gist options
  • Save agmm/662ed6cca86c440f904588b70a5666e4 to your computer and use it in GitHub Desktop.
Save agmm/662ed6cca86c440f904588b70a5666e4 to your computer and use it in GitHub Desktop.
Imperative Commit Messages

To remove any confusion, here’s a simple rule to get it right every time:

"If applied, this commit will your subject line here"

Examples

  • If applied, this commit will refactor subsystem X for readability
  • If applied, this commit will update getting started documentation
  • If applied, this commit will remove deprecated methods
  • If applied, this commit will release version 1.0.0
  • If applied, this commit will merge pull request #123 from user/branch

Verbs

  • Refactor
  • Update
  • Remove
  • Fix
  • Release
  • Merge

Reference:

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