clean --reclone: also delete local tags

This commit is contained in:
Rudolf Polzer 2012-03-06 20:25:08 +01:00
parent 3a518633f9
commit cef8370975

View File

@ -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