From 24db392c37e6170d8a331dd16a12167c608c4274 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Sat, 21 Jan 2023 13:07:01 +0000 Subject: [PATCH] Autosave: 2023-01-21 13:07:01 --- _scripts/auto_save.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_scripts/auto_save.sh b/_scripts/auto_save.sh index c3519b9..f379fe9 100755 --- a/_scripts/auto_save.sh +++ b/_scripts/auto_save.sh @@ -15,7 +15,8 @@ source ${SPACE_TO_UNDERSCORE} source ${CLEAN_IMAGE_DIRECTORY} git pull -CHANGES_EXIST="$(git status --porcelain | wc -l)" + +CHANGES_EXIST="$(git status --porcelain | wc -l)" >/dev/null 2>$1 # If no changes, exit. Else commit and push with timestamp if [ "$CHANGES_EXIST" -eq 0 ]; then