From fe4cb38f0bb43440ebec2ae5c1b437780e8631b6 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 2 Dec 2026 13:48:40 +0000 Subject: [PATCH] fix(deploy): pop stashed local changes after git pull in sync-vps-repos.sh --- deploy/sync-vps-repos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index d18e693..6757279 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -154,6 +154,7 @@ if [[ "${DO_PULL}" -eq 1 ]]; then run_checked "git fetch ${repo}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags run_checked "git pull --rebase --autostash ${repo}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" pull --rebase -X theirs --autostash "${remote_name}" "${branch}" fi + git -C "${REPOS_ROOT}/${repo}" stash pop -q || true unmerged_paths="$(git -C "${REPOS_ROOT}/${repo}" diff --name-only --diff-filter=U || true)" if [[ -n "${unmerged_paths}" ]]; then while IFS= read -r uf; do