Skip to content

Instantly share code, notes, and snippets.

@canhnt
Created August 9, 2017 09:11
Show Gist options
  • Save canhnt/9e642862986c7c08bfabd899197c23d6 to your computer and use it in GitHub Desktop.
Save canhnt/9e642862986c7c08bfabd899197c23d6 to your computer and use it in GitHub Desktop.
Delete local tags that do not exist in remote
git fetch --prune origin "+refs/tags/*:refs/tags/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment