GitXplorerGitXplorer
l

whatthecommit

public
159 stars
8 forks
4 issues

Commits

List of commits on branch master.
Unverified
0d564bdbe525d4529a56945ba0905e67c8022723

Whatever will be, will be 8{ (© whatthecommit.com)

llwe committed 6 years ago
Unverified
ca10769d63cd8d8f03d603309b14fa2fb39dc829

Herpderp, shoulda check if it does really compile. (© whatthecommit.com)

llwe committed 6 years ago
Unverified
3ce2b100615efb767c4f7e584084107cf652a915

unh (© whatthecommit.com)

llwe committed 10 years ago
Unverified
321f158a7be87e34f9b33dfdee97b15a9e11d105

Is there an award for this? (© whatthecommit.com) fixes #4

llwe committed 10 years ago
Unverified
33db25d9ab6caa5cb11686fc1cece266ddc039ec

I can't believe it took so long to fix this. (© whatthecommit.com)

llwe committed 10 years ago
Unverified
f28abbed7aadbf136127cb821e4b5b319c71a73c

Merge pull request #3 from dbaltas/master

llwe committed 12 years ago

README

The README file for this repository.

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 😉

How do I install it?

To get up and running as fast as possbile run

# 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:

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

...or how about a git alias?

# 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.