Skip to content

Instantly share code, notes, and snippets.

@White2001Offl
Forked from seungwon0/Whatthecommit
Created September 15, 2021 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save White2001Offl/d078e5358b58bfa484cbb5b3f4ec847c to your computer and use it in GitHub Desktop.
Save White2001Offl/d078e5358b58bfa484cbb5b3f4ec847c to your computer and use it in GitHub Desktop.
Random commit message generator
#! /bin/sh
#
# whatthecommit - Random commit message generator
#
# Show random commit message from http://whatthecommit.com/.
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright 2011 by Seungwon Jeong
curl -s http://whatthecommit.com | perl -p0e '($_)=m{<p>(.+?)</p>}s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment