Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Stash changes before pull. (#438)

Riley Nielsen4cb556ee77f4
diff --git a/update.sh b/update.sh
index 46ce57932..16810d9d1 100644
--- a/update.sh
+++ b/update.sh
@@ -5,6 +5,10 @@ set -e
echo "Updating to the latest version..."
+# Stash any local changes
+echo "Stashing local changes, if any..."
+git stash
+
# Pull latest changes from git repository
echo "Pulling latest code..."
git pull
@@ -39,4 +43,4 @@ else
fi
echo "Update complete. Services are running with the latest version."
-echo "You can monitor logs with: docker compose logs -f"
\ No newline at end of file
+echo "You can monitor logs with: docker compose logs -f"