Skip to content

Instantly share code, notes, and snippets.

@abhinaykumar
Created September 21, 2018 05:21
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 abhinaykumar/fcdb940821c8fc83c36beed4e3e4a83d to your computer and use it in GitHub Desktop.
Save abhinaykumar/fcdb940821c8fc83c36beed4e3e4a83d to your computer and use it in GitHub Desktop.
# n, can be the number of times you want to execute this command.
# In my case tag were like below
# release-1.4.0
# release-1.4.1
# release-1.4.10
# release-1.4.11
# release-1.4.2
# release-1.4.3
# release-1.4.4
# release-1.4.5
# release-1.4.6
# release-1.4.7
# release-1.4.8
# release-1.4.9
#
11.times do |i|
`git tag -d "release-1.4.#{i}"`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment