Tweak initial commit script

This commit is contained in:
Jonathan Hodgson 2018-01-05 10:09:04 +00:00
parent 3d8ff528b3
commit 0ea8fe25f1

View file

@ -17,6 +17,7 @@ commits=(
"Reinventing the wheel. Again."
"This is not the commit message you are looking for"
"Batman! (this commit has no parents)"
"In the beginning, the code was without form and was void()…"
)
# Seed random generator
@ -26,4 +27,4 @@ RANDOM=$$$(date +%s)
selectedexpression=${commits[$RANDOM % ${#commits[@]} ]}
# Write to Shell
git commit -m "$selectedexpression"
git commit --allow-empty -m "$selectedexpression"