百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

whatthecommit

> 编程语言
开源

https://whatthecommit.com 的非官方命令行客户端

165 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyfunshellwhatthecommit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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