Skip to content

Instantly share code, notes, and snippets.

@gmelodie
Created July 10, 2021 23:11
Show Gist options
  • Save gmelodie/347f73ede8e0598ee231a3235e362946 to your computer and use it in GitHub Desktop.
Save gmelodie/347f73ede8e0598ee231a3235e362946 to your computer and use it in GitHub Desktop.
Lazy commit (random message from http://whatthecommit.com/)
message=$(curl http://whatthecommit.com | grep \<p\> | cut -d ">" -f 2)
git add .
git commit -m "$message"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment