this post was submitted on 10 Jun 2023
163 points (98.8% liked)

Programmer Humor

32724 readers
336 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)

I have an alias, git yolo, that does 'git commit -a' with a message from whatthecommit.com, and pushes to master. Just add this to your ~/.gitconfiig and you too can live on the edge. yolo = !git add -A && git commit -m \"$(curl --silent --fail https://whatthecommit.com/index.txt)\"&&git push origin main

Edit: Added the alias.

[โ€“] [email protected] 1 points 2 years ago

I did not know about whatthecommit, and I love it! Thank you