| Crates.io | repo-rs |
| lib.rs | repo-rs |
| version | 0.1.2 |
| created_at | 2025-12-10 18:48:55.863333+00 |
| updated_at | 2025-12-11 14:54:16.740926+00 |
| description | Repository path resolution tool |
| homepage | https://codeberg.org/dadada/repo-rs |
| repository | https://codeberg.org/dadada/repo-rs |
| max_upload_size | |
| id | 1978599 |
| size | 42,238 |
Jump to local checkouts of Git repositories.
h repo-name resolves the path to repo-name and changes the current working directory to it.
h https://git.example.com/dadada/example.git clones the repo example into ~/code/git.example.com/dadada/example and changes the current working directory to it.
In this example ~/code is the path in which repos should be stored; it can be specified using export REPO_CODE_ROOT=$HOME/code.
Install the repo tool and install the shell function. The function changes your current working directory to the resolved directory.
cargo install repo-rs
eval "$(repo setup --root ~/git)"