Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Delete remote tag" to match delete remote branch #218

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hyperupcall
Copy link

@hyperupcall hyperupcall commented Oct 17, 2023

The --delete flag can be used for deleting both remote branches and tags. This updates "Delete remote tag" to do that. It also adds a deletion syntax without the refs/tags so it's known that it's usually not necessary.

@baooab
Copy link

baooab commented Oct 25, 2023

git push origin --delete refs/tags/<tag-name> feels a bit redundant. It can be changed to the following, which will be more concise.


git push origin --delete <tagname>

Alternatives:

git push origin :refs/tags/<tag-name>

@hyperupcall
Copy link
Author

@baooab Agreed! Made those edits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants