repo-rs/README.md

657 B

repo-rs

Usage

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. To navigate back use popd.

Installation

Install the repo tool and install the shell function. The function changes your current working directory to the resolved directory.

cargo install
eval "$(repo setup --root ~/git)"