From 5e68ab0ee4d0efb19485352f1fe3593938774095 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 23 Dec 2025 15:54:48 +0000 Subject: [PATCH] Committed --- git_automation.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/git_automation.sh b/git_automation.sh index d9723c6..6f87243 100755 --- a/git_automation.sh +++ b/git_automation.sh @@ -12,6 +12,7 @@ echo "[INFO] Watching $TRIGGER_FILE..." echo "[INFO] To trigger a git commit and push, run: trigger_git" echo "PLEASE make sure that you have a good .gitignore file set up to avoid committing unwanted files." +DEFAULT_COMMIT_MSG="Committed" #Do not know if the runs forrever loop is the best way to do this but it works while true; do if [[ -f "$TRIGGER_FILE" ]]; then @@ -19,20 +20,21 @@ while true; do echo "[INFO] Triggered at $(date)" - read -rp "Enter commit message: " COMMIT_MSG