From 4b005009e5b15f753c5bb61ba7a95a3a6fcaf17c Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 25 Nov 2025 11:08:53 +0400 Subject: [PATCH] pull repo do clone + force --- lib/setup-prod-normal-user.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/setup-prod-normal-user.bash b/lib/setup-prod-normal-user.bash index 348b6f2..1b879ce 100644 --- a/lib/setup-prod-normal-user.bash +++ b/lib/setup-prod-normal-user.bash @@ -38,6 +38,7 @@ function pull_repo { git clone $REPO_URL --branch $REPO_BRANCH . git config --global init.defaultBranch $REPO_BRANCH git config pull.rebase true + FORCE=true fi if git fetch origin $REPO_BRANCH --dry-run --verbose 2>&1 | grep -q " =.*\-> origin\/$REPO_BRANCH"; then