test git script

This commit is contained in:
Elias Gasparis 2026-03-20 18:21:29 +08:00
commit 1875f11ac1

View file

@ -1,5 +1,12 @@
echo "Git commit message:"
read
#!/run/current-system/sw/bin/bash
# add nix config to git
COMMIT_MSG="Update NixOS config."
echo "Commit message?"
# what did I change?
read COMMIT_MSG
echo "OK!"
git add .
git commit -m "$REPLY"
git commit push -u origin main
git commit -m "$COMMIT_MSG"
git push origin main