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

9 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