Use --autostash in sync-vps.sh to handle local unstaged changes

This commit is contained in:
brutsalvadi
2026-05-07 22:47:31 +02:00
parent 6098b61ac6
commit 80dc51a706
+1 -1
View File
@@ -5,7 +5,7 @@ set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."
echo "==> Pulling web-edit commits from VPS..." echo "==> Pulling web-edit commits from VPS..."
git pull --rebase vps main git pull --rebase --autostash vps main
echo "==> Pushing site submodule to VPS..." echo "==> Pushing site submodule to VPS..."
(cd site && git push vps main) (cd site && git push vps main)