Skip to content

Instantly share code, notes, and snippets.

@dgyesbreghs
Last active November 5, 2015 13:43
Show Gist options
  • Save dgyesbreghs/d0de2dc7c9239c598df9 to your computer and use it in GitHub Desktop.
Save dgyesbreghs/d0de2dc7c9239c598df9 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'git'
g = Git.open(Dir.pwd)
g.tags.each do |tag|
if tag.name.include? "VersionTwo"
g.delete_tag(tag.name)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment