bloodymage / ansible-collection-autonomy

Ansible collection to install self hosted services
https://bloodymage.org
MIT License
22 stars 3 forks source link

Add git 'yolo' and 'date' aliases to gitconfig #548

Closed gderber closed 1 year ago

gderber commented 1 year ago

Git yolo:

git config --global alias.yolo '!git add --all && git commit -m "$(curl -s https://whatthecommit.com/index.txt)" && git push --force'

Substitute curl for:

fortune -n 72 -s

Git date - "Commit for YYYY-MM-DD" Git datetime - "Commit at YYYY-MM-DD HH:MM:SS"

References: