git-where
This Git extension adds a "where" command that resolves locations across Git worktrees, powering shell functions such as `jbr <branchname>` to jump to the checkout containing a branch from anywhere and `jd <subdir>` to autojump to a subdirectory within the current checkout, restoring fast repo navigation when juggling many concurrent worktree checkouts.
What it addresses
Git worktrees broke the author's shell workflow: `j <reponame>` plus `gco <branchname>` errored because the branch was already checked out in another worktree, and with dozens of concurrent checkouts, jumping to a subdirectory by name was no longer unique enough to resolve.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
git-where
This Git extension adds a "where" command that resolves locations across Git worktrees, powering shell functions such as `jbr <branchname>` to jump to the checkout containing a branch from anywhere and `jd <subdir>` to autojump to a subdirectory within the current checkout, restoring fast repo navigation when juggling many concurrent worktree checkouts.
Problem: Git worktrees broke the author's shell workflow: `j <reponame>` plus `gco <branchname>` errored because the branch was already checked out in another worktree, and with dozens of concurrent checkouts, jumping to a subdirectory by name was no longer unique enough to resolve.
Posted by @turadg · Original source ↗
Source text · @turadg · · Source ↗
To power those shell functions I made a “where” extension for Git. https://github.com/turadg/git-where It’s working out nicely!