Skip to content

Instantly share code, notes, and snippets.

@Jaskaranbir
Created September 6, 2018 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaskaranbir/42f41d14cc05097171e59d0815e20e55 to your computer and use it in GitHub Desktop.
Save Jaskaranbir/42f41d14cc05097171e59d0815e20e55 to your computer and use it in GitHub Desktop.
Git delete tags locally that do not exist on 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