Compare commits

...

3 commits

Author SHA1 Message Date
1875f11ac1 test git script 2026-03-20 18:21:29 +08:00
3bcd19923e test git script 2026-03-20 18:19:05 +08:00
298e56fd49 test git script 2026-03-20 18:18:29 +08:00

12
git-update.sh Executable file
View file

@ -0,0 +1,12 @@
#!/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 "$COMMIT_MSG"
git push origin main