Skip to content

Copy tags to clipboard #4219

@brunofjesus

Description

@brunofjesus

Is your feature request related to a problem? Please describe.
I recently started using lazygit and it's way more convenient that relying on the default git cli. Thank you all for this great tool!

As part of my workflow I sometimes need to copy-paste git tags, I don't think Lazygit supports that.

Describe the solution you'd like
I want to be able to go to the Tags list and press C-o to copy the tag name into the clipboard.
I also want to be able to have the option to copy the tags from the Commit clipboard menu y by pressing t there.

Describe alternatives you've considered
My alternative is using the regular git cli.

Additional context
I started hacking around by myself and I think I was able to implement it successfully.

PR here: #4218

Some screenshots:
Image
Image


I just learned about the custom commands from the PR template, I think the same functionality might be achieved that way. I can try to go with that route if I'm only one needing this feature 🙈

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions