fixed commit script

This commit is contained in:
Elias Gasparis 2025-01-16 06:36:52 +08:00
parent 44471261a6
commit 2be619919a

View file

@ -1,9 +1,8 @@
# add things to git # add things to git
COMMIT_MSG="Update NixOS config." COMMIT_MSG="Update NixOS config."
echo "commit message?" echo "Commit message?"
read COMMIT_MSG read COMMIT_MSG
echo "OK!"
echo "this is what they wrote: $COMMIT_MSG"
git add . git add .
git commit -m "$COMMIT_MSG" git commit -m "$COMMIT_MSG"