• dunz@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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.