• dunz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    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.

    • pcouyOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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