Skip to content

Instantly share code, notes, and snippets.

@k8scat
Last active Aug 4, 2021
Embed
What would you like to do?
git-fetch
# Delete local tags
git tag -l | xargs git tag -d && git fetch origin
# Prune local branches
git fetch origin --prune -q
# Prune local branches/tags
git fetch origin --prune --prune-tags -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment