Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

whatthecommit

> 编程语言
Open source

Unoffical command line client for https://whatthecommit.com

165 stars0 likes1 views
WebsiteGitHub

About

Unoffical command line client for https://whatthecommit.com

whatthecommit

An unoffical command client to fetch a random and silly commit message from whatthecommit.com.

For the sources of whatthecommit.com see https://github.com/ngerakines/commitment

FAQ

Is it useful?

Yeah, sure, I mean it's perfect for those cases where you haven't committed a change in ages and feel too important to use git add -i, so git commit -am "$(whatthecommit)" to the rescue :wink:

How do I install it?

To get up and running as fast as possbile run

bash
# installs to /usr/local/bin/whatthecommit
curl -L https://github.com/lwe/whatthecommit/raw/master/whatthecommit >/usr/local/bin/whatthecommit
chmod 0755 /usr/local/bin/whatthecommit

Are there any options?

Sure, check whatthecommit -h for usage and options.

Do I need this? / Alternatives

No, whatthecommit.com provides since some time a plain text interface at https://whatthecommit.com/index.txt - so a good alternative would be to create something like:

bash
# .bashrc / .zshrc or whatever
function whatthecommit() {
  curl --silent --fail https://whatthecommit.com/index.txt
}

...or how about a git alias?

bash
# From https://github.com/ngerakines/commitment/issues/69#issuecomment-91053061
git config --global alias.yolo '!git add -A && git commit -m "$(curl --silent --fail https://whatthecommit.com/index.txt)"'

Thanks to m13253 for the index.txt trick.

Issues· 4 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyfunshellwhatthecommit

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言