diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 598197b..6147298 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -59,7 +59,7 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then remote_name="downstream" fi echo "[1/4] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..." - git -C "${REPOS_ROOT}/${repo}" fetch "${remote_name}" "${branch}" --tags + git -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}" fi done