GitSavvy icon indicating copy to clipboard operation
GitSavvy copied to clipboard

Ability to checkout tags

Open peterkos opened this issue 1 year ago • 2 comments

Hi!

Would be neat to checkout a specific tag, either in the tag view, and/or as an additional command.

peterkos avatar Dec 13 '23 17:12 peterkos

Yeah, that's doable. What I currently do is:

  • when I'm in the tags view, I hit g for the graph, and then checkout the tag detached.

  • when I'm already in the graph/Repo History, I open "Goto Symbol" (ctrl+r on Windows/Linux) (that's the symbol list local to the view) and then search/type for the tag. image

Iirc correctly both the tags view and of course the graph/history don't display all tags or all of the history but truncate at some point. (Although the history view loads more and more commits while scrolling.) So not all tags are easily reachable. Because of that maybe a separate command which always displays all tags or all annotated tags would make sense.

kaste avatar Dec 13 '23 20:12 kaste

As the graph truncates the history, one can also hit s to toggle into "overview" mode. This is still truncated but which repo has thousands of tags? And it can look nice:

image

kaste avatar Feb 09 '24 09:02 kaste