Skip to content

Instantly share code, notes, and snippets.

@remiprev remiprev/.gitconfig
Created Mar 20, 2012

Embed
What would you like to do?
Find the most used verbs in your Git commit messages
[alias]
verbs = !git log --pretty=format:'%s' | cut -d \" \" -f 1 | sort | uniq -c | sort -nr
$ git verbs
440 Add
350 Merge
245 Fix
128 Remove
91 Improve
66 Use
@zanshin

This comment has been minimized.

Copy link

commented Mar 21, 2012

Outstanding. Great fun.

While I was able to add this as an alias in my .zshrc, I wasn't able to add it to my .gitconfig. It kept complaining about one of the pipes (|).

@remiprev

This comment has been minimized.

Copy link
Owner Author

commented Aug 21, 2012

I updated the gist to add a handy alias 😄

@naveda89

This comment has been minimized.

Copy link

commented May 15, 2014

Awesome!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.