Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@Br3nda
Copy link

Br3nda commented Sep 4, 2020

Thank you!

@MrBacony
Copy link

MrBacony commented Sep 4, 2020

thanks

@maxsavo
Copy link

maxsavo commented Oct 11, 2020

Thanks

@mfehrenbach
Copy link

mfehrenbach commented Oct 19, 2020

@eli8527 and I:

@DobbyK
Copy link

DobbyK commented Nov 10, 2020

Damn, This thing has helped people for 3 years. The internet has done something good some how.

@mohammad26845
Copy link

mohammad26845 commented Dec 8, 2020

Thanks 👍

@billywoodxyz
Copy link

billywoodxyz commented Jan 5, 2021

thanks

@Roy-VZ
Copy link

Roy-VZ commented Jan 10, 2021

Thank you

@ter-cto
Copy link

ter-cto commented Jan 15, 2021

thank you so muchch

@miffa
Copy link

miffa commented Jan 15, 2021

thanks

@soiqualang
Copy link

soiqualang commented Jan 18, 2021

Wonderful, Thank you !

@tal-ayalon
Copy link

tal-ayalon commented Jan 21, 2021

simple and easy, thanks!

@harieamjari
Copy link

harieamjari commented Mar 8, 2021

kudos!

@LukasMari
Copy link

LukasMari commented Apr 8, 2021

Thanks man!

@yamin8000
Copy link

yamin8000 commented May 2, 2021

Thank you!

@Mr-HaleYa
Copy link

Mr-HaleYa commented May 18, 2021

Thank you!

@mcfriend99
Copy link

mcfriend99 commented May 19, 2021

Thanks man!

@Saraistupid
Copy link

Saraistupid commented Jun 14, 2021

Thank you!

@gauravphagrehpe
Copy link

gauravphagrehpe commented Jun 18, 2021

Thanks a lot :)

@dtang-wish
Copy link

dtang-wish commented Jun 28, 2021

Thanks!

@ziteh
Copy link

ziteh commented Jul 3, 2021

Thanks!

@emdienn
Copy link

emdienn commented Jul 28, 2021

Thanks!

@davidaparicio
Copy link

davidaparicio commented Sep 19, 2021

Thanks!

@acallejp97
Copy link

acallejp97 commented Sep 22, 2021

Thanks!

@gcasarin
Copy link

gcasarin commented Oct 6, 2021

Thanks!

@pontin-pdftron
Copy link

pontin-pdftron commented Jan 21, 2022

Thanks!

@gkennedy1
Copy link

gkennedy1 commented Mar 30, 2022

Thank you

@VishwasShashidhar
Copy link

VishwasShashidhar commented Jun 18, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment