fix: prevent empty commits in git push script by checking for staged changes

This commit is contained in:
2025-12-03 21:14:36 -05:00
parent f85314445b
commit d85c9a23dd

View File

@@ -15,7 +15,7 @@ STAGES=(
COMMANDS=( COMMANDS=(
"git add ." "git add ."
"git commit -m \"Manual Push\"" "git diff --cached --quiet && exit 0; git commit -m \"Manual Push\""
"git push" "git push"
) )