Crates.io | git-jump |
lib.rs | git-jump |
version | 0.1.3 |
source | src |
created_at | 2024-10-22 12:07:08.050541 |
updated_at | 2024-10-25 11:53:53.822231 |
description | Quickly jump to any git repo on the system. Requires fzf and plocate. |
homepage | |
repository | |
max_upload_size | |
id | 1418575 |
size | 15,364 |
Quickly jump to any git repository on the file system.
Install via cargo:
cargo install git-jump
For effective use, plocate must have indexed the file system. Use the updatedb
command to index the file system. New repositories will not appear until the database is updated. Consider setting up a cron job to update the database periodically.
To ensure the git alias is working correctly, ensure the installation is in your PATH. Create an alias or key binding for cd "$(git jump)"
in your shell and run it. Selecting a repository will then navigate into its directory.
git-jump will search for configuration settings in ~/.config/git-jump.json
(or %USERPROFILE%\.config\git-jump.json
if on Windows). If you wish to configure git-jump, add the following contents:
{
"blacklist": [],
"whitelist": []
}
[!IMPORTANT] Even if you do not intend to specify values for a configuration option, it must be included in the file.
Any repo whose starts with a string in the blacklist will be excluded from results. If the whitelist is populated, the program will only show repos whose paths begin with at least one member of the whitelist. Note that the values of blacklist and whitelist do not support globbing. They are used in a simple case-insensitive string comparison.