Settings

Theme

Show HN: Gcd – Git Worktree Navigator

github.com

18 points by davvid 2 years ago · 2 comments

Reader

mrAssHat 2 years ago

I hate the animations like the one in the description for being too fast to comprehend.

Looks like just a fzf that is able to traverse across branches, but it is not obvious which branch the selected file is in until you switch to it.

  • davvidOP 2 years ago

    Thanks for the feedback on the animations. I didn't want to keep too large of a .gif in the repo but that's the only format that's straightforward enough to have displayed inline so I had to keep the animation terse (and admittedly a bit too fast).

    It is indeed using fzf in a specialized way so that it only searches for git worktrees and nothing more. The use case I have is that I have dozens or hundreds of repos in various locations on disk and this tool makes it easy to instantly jump into any of them.

    That's why it's called "gcd" -- git + cd.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection