Crates.io | git-locate |
lib.rs | git-locate |
version | 0.1.0 |
created_at | 2025-07-24 03:25:06.992124+00 |
updated_at | 2025-07-24 03:25:06.992124+00 |
description | A git worktree switcher |
homepage | |
repository | https://github.com/asayers/git-locate |
max_upload_size | |
id | 1765481 |
size | 68,057 |
git locate
lists your branches (from newest to oldest) and you choose one.
If the branch is already checked out in a worktree, it prints the path of that
worktree. Otherwise, it checks out the branch in the current worktree. You use
it like this:
$ cd $(git locate)