Skip to content

create multiple-line annotations for git tags #1137

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

Open
skyfaller opened this issue Feb 18, 2022 · 2 comments
Open

create multiple-line annotations for git tags #1137

skyfaller opened this issue Feb 18, 2022 · 2 comments

Comments

@skyfaller
Copy link

Is your feature request related to a problem? Please describe.
Happily we can now create annotations, and view annotations (including longer multiple-line annotations). Thank you for making that happen!

Sadly, if you want to create an annotation that takes up more than one line, gitui currently can't do it. I need this for my use case, which is putting release notes in git tag annotations. This is helpful for bringing release notes to non-GitHub platforms and local repos. Without this, I will still be stuck creating annotations from git itself.

When I go to create a tag in gitui, I hit t to write the tag name, then ^a to write the annotation. But here enter/return would save the annotation, there is no way to write a second line.

Describe the solution you'd like
Given the current workflow, I think the simplest solution would be to add ^e to open the editor, as we do when writing a commit message.

@skyfaller
Copy link
Author

skyfaller commented Sep 28, 2022

Anyone who wants to use a tool like git-cliff for producing release notes and is not on GitHub may enjoy using long git annotations. This may become more popular as FOSS advocates are putting more effort into encouraging people to move off GitHub, and you can see projects like ForgeFed are getting funding from places like NLnet's User Operated Internet Fund to network the independent code forges together.

@stale stale bot removed the dormant Marked by stale bot on close label Sep 28, 2022
@extrawurst
Copy link
Collaborator

requires the same foundational functionality like #1171

@gitui-org gitui-org deleted a comment from stale bot Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants