From 1875f11ac10d7c7b52b90569a60b3079cae414e0 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Fri, 20 Mar 2026 18:21:29 +0800 Subject: [PATCH] test git script --- git-update.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/git-update.sh b/git-update.sh index dd71bb9..26ded76 100755 --- a/git-update.sh +++ b/git-update.sh @@ -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