1
0
Fork 0
misc-linux-tools/bin/whatthecommit

10 lines
145 B
Bash
Executable File

#!/usr/bin/env bash
git add .
curl -s whatthecommit.com \
| sed 's/<[^>]\+>//g' \
| sed '1,39d' \
| head -1 \
| xargs -0 git commit -m