From dc92cd249b85cf3d33879907dfcd73e06261297b Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Thu, 24 Nov 2022 20:58:10 +0800 Subject: [PATCH] update.sh: fetch will prune --- .update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.update.sh b/.update.sh index c9ad28d..fb06ddd 100644 --- a/.update.sh +++ b/.update.sh @@ -9,7 +9,7 @@ DFS_UPDATE_CHANNEL=${DFS_UPDATE_CHANNEL:-"main"} # fetch origin cd $DOTFILES -git fetch --all +git fetch --all --prune if [[ -n "$(git status -s)" ]]; then fmt_error "directory not clean" post_log "ERROR" "$THIS_FILE" "directory not clean"