-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Issues with deleting tags on repositories #15858
Comments
Thanks for the report @Rekkonnect.
See this response for an explanation behind this behavior.
I was able to reproduce this, but a restart of GitHub Desktop resolved the issue. I'll label this as a bug. |
I am facing the same issue with GitLab. I removed an existing tag on GitLab. But the tag is not updated on GitHub Desktop. Still showing on the previous commit. Any workaround to update it on GitHub Desktop? Any cache to clear? |
I managed to solve my issue by manually running this command:
|
I would also like to see this implemented on the desktop app. Definitely warn us like when amending a commit, but allow us to continue at our own risk. This is turning out be especially important for me since I'm testing a workflow that depends on a tag being pushed to the repository. |
I think we should not create difficulties for other people's work just because of developers' preferred behavior. We use git to manage projects that not only involve developers, but for non-technical personnel, it is unacceptable to use complex operations to solve operational errors. They get frustrated and panicked about it. |
It is pretty much insane that github desktop allows me to create a tag easily without creating a "release", but doesn't let me delete a tag that has been pushed, when the web interface allows me to easily delete a tag but doesn't allow me to create a tag without creating a release. |
The problem
a) Cannot delete an already pushed tag (GitHub on web allows you to)
b) Manually deleting the tag using commands does not properly update the existing tags. Trying to create another tag with the same name as the (now) deleted tag is prevented saying that the tag exists.
Release version
3.1.2
Operating system
Windows 10
Steps to reproduce the behavior
For both issues:
For issue a, you cannot delete the already pushed tag.
For issue b, follow those steps after the previous ones:
The user will then be told that the tag exists, when it has been just deleted.
Log files
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: