From cef8370975f87d3eccab1094ec7d4df7b5d511e0 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 6 Mar 2012 20:25:08 +0100 Subject: [PATCH] clean --reclone: also delete local tags --- misc/tools/all/git.subr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/tools/all/git.subr b/misc/tools/all/git.subr index b2b84231..93fb0040 100644 --- a/misc/tools/all/git.subr +++ b/misc/tools/all/git.subr @@ -660,6 +660,9 @@ case "$cmd" in bra=`git config "branch.$r.merge" || $ECHO "$r"` upstream="$rem/${bra#refs/heads/}" if $fetchupstream; then + for t in `git tag`; do + verbose git tag -d "$t" + done verbose git fetch "$rem" verbose git remote prune "$rem" fi -- 2.39.2