How can I edit release message? #4927
-
In GitHub under releases tag we can edit into already released tag at This could also be done through I was wondering can we achieve this using PS: magit is a coolest interface in emacs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
No, Magit doesn't have any support for editing GitHub releases, which is a GitHub-specific feature built on top of regular Git tags.
In that case, you're editing the GitHub release message, not the tag itself. If you want to edit the message of an annotated tag, the only option is to replace that tag with another tag that has the same name and a different message. For example, you can call |
Beta Was this translation helpful? Give feedback.
-
As I understand, we cannot replace tag with the same tag, or delete that tag and re-create the it using deleted tag's version with updated message. => Can we achieve replace that tag with another tag using magit? Basic example would be helpful. Thank you for your help. |
Beta Was this translation helpful? Give feedback.
No, Magit doesn't have any support for editing GitHub releases, which is a GitHub-specific feature built on top of regular Git tags.
In that case, you're editing the GitHub release message, not the tag itself.
If you want to edit the message of an annotated tag, the only option is to replace that tag with another tag that has the same name and a different message. For example, you can call
tag
with--annotate
and--force
(t -a -f
) and specify the name of an existing tag. When an annotated tag with that name exists, the message buffer that pops up will be contain the old message for you to edit.