Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 209 Bytes
class Gitr
def self.done!(grep_val)
tags = `git tag | grep #{grep_val}`
tags.split("\n").each do |tag|
`git tag -d #{tag}`
`git push origin :refs/tags/#{tag}`
end
end
end