Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save valyakuttan/a0aa0588eb582e9e4c696459694a2806 to your computer and use it in GitHub Desktop.
Save valyakuttan/a0aa0588eb582e9e4c696459694a2806 to your computer and use it in GitHub Desktop.
Example list of verbs / first word to use in git commit title #git #commit #title

Example list of first words to use in a git commit title

I like writing well-formed git commits that explain the intention behind why a code change was made.

Check out Chris Beams excellent How to Write a Git Commit Message if you haven't read it.

Anyway, for a project I've been working on I've gathered up 900+ commits that hold up a pretty high quality (except for one 😁). Let's look at some trends about these commits!

Most common first words in commit titles of a project

git log --pretty='%s' | cut -d ' ' -f1 | sort | uniq -c | sort -r | pbcopy

git-commit-title-first-word

https://www.jasondavies.com/wordcloud/

The most common ones are of course Add, Merge, Fix and Remove. After that they start getting creative and more interesting, hope you enjoy it!
 175 Add
 163 Merge
  69 Fix
  35 Remove
  30 Implement
  28 Update
  25 Change
  22 Use
  20 Set
  20 Refactor
  17 Move
  17 Hide
  16 Allow
  13 Extract
  12 Test
  12 Disable
  11 Install
   8 Rename
   7 Upgrade
   7 Expose
   6 Tweak
   5 Run
   5 Rewrite
   5 Replace
   5 Display
   4 Validate
   4 Restrict
   4 Improve
   4 Ignore
   4 Hotfix
   4 Create
   4 Configure
   3 Translate
   3 Silence
   3 Show
   3 Reorder
   3 Override
   3 Enable
   2 Wrap
   2 Try
   2 Sync
   2 Revert
   2 Resolve
   2 Report
   2 Relax
   2 Prevent
   2 Normalize
   2 Never
   2 Handle
   2 Explicitly
   2 Do
   2 Delegate
   2 Default
   2 Check
   2 Automatically
   2 Auto-fix
   2 Apply
   1 fixup!
   1 Write
   1 View
   1 Verify
   1 Unset
   1 Un-nest
   1 Turn
   1 Throw
   1 Temporarily
   1 System
   1 Support
   1 Store
   1 Stop
   1 Start
   1 Split
   1 Speed
   1 Skip
   1 Selectively
   1 Scroll
   1 Scope
   1 Root
   1 Reuse
   1 Restructure
   1 Respond
   1 Respect
   1 Represent
   1 Render
   1 Redirect
   1 Rebuild
   1 Re-use
   1 Re-order
   1 Re-generate
   1 Raise
   1 Quickfix
   1 Put
   1 Print
   1 Prettify
   1 Prepare
   1 Prefix
   1 Prefill
   1 Persist
   1 Order
   1 Only
   1 Omit
   1 Notify
   1 Nest
   1 Monkey-patch
   1 Mark
   1 Make
   1 Loosen
   1 Log
   1 Lock
   1 Link
   1 Limit
   1 Jump
   1 Introduce
   1 Insert
   1 Improves
   1 Give
   1 Format
   1 Force
   1 Fetch
   1 Extend
   1 Exclude
   1 Enhance
   1 Enforce
   1 Downgrade
   1 Downcase
   1 Document
   1 Divide
   1 Disallow
   1 Describe
   1 Deploy
   1 Copy
   1 Convert
   1 Consistently
   1 Compile
   1 Collapse
   1 Clarify
   1 Auto-correct
   1 Auto
   1 Authorize
   1 Attach
   1 Assign
   1 Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment