Committed
This commit is contained in:
@@ -19,9 +19,7 @@ while true; do
|
|||||||
|
|
||||||
echo "[INFO] Triggered at $(date)"
|
echo "[INFO] Triggered at $(date)"
|
||||||
|
|
||||||
# Prompt the user for a commit message
|
read -rp "Enter commit message: " COMMIT_MSG </dev/tty
|
||||||
read -rp "Enter commit message: " COMMIT_MSG
|
|
||||||
# Fallback if the user presses enter without typing a message
|
|
||||||
if [[ -z "$COMMIT_MSG" ]]; then
|
if [[ -z "$COMMIT_MSG" ]]; then
|
||||||
COMMIT_MSG="Committed"
|
COMMIT_MSG="Committed"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user