nixos-greynix/update.sh

10 lines
164 B
Bash
Raw Normal View History

2024-11-10 20:28:45 +08:00
# add things to git
2025-01-16 06:32:20 +08:00
COMMIT_MSG="Update NixOS config."
2025-01-16 06:36:52 +08:00
echo "Commit message?"
2025-01-16 06:36:07 +08:00
read COMMIT_MSG
2025-01-16 06:36:52 +08:00
echo "OK!"
2025-01-16 06:34:27 +08:00
2024-11-10 20:28:45 +08:00
git add .
2025-01-16 06:32:20 +08:00
git commit -m "$COMMIT_MSG"
2024-11-10 20:28:45 +08:00
git push origin main