Crates.io | git-repo-clone |
lib.rs | git-repo-clone |
version | 0.2.0 |
source | src |
created_at | 2022-04-24 06:49:54.354076 |
updated_at | 2022-04-24 06:49:54.354076 |
description | Git Repo Clone is a command line utility written in rust that leverages the power of fuzzy finding with searching git hosts |
homepage | https://github.com/jrmoulton/git-repo-clone |
repository | https://github.com/jrmoulton/git-repo-clone |
max_upload_size | |
id | 572978 |
size | 64,161 |
The correct way to clone a git repository
Git Repo Clone is a tool that leverages the power of fuzzy finding with searches on the Github API. This allows for finding the exact repository you're looking for even if you don't know the exact name of the repo or owner and then fuzzing finding on those results.
Git must be installed. Use grc --help
USAGE:
grc [OPTIONS] [ARGS] [SUBCOMMAND]
ARGS:
<repository> The repository name to search for
<git args>... All additional git args. After all other options pass `--` and then the git
args. Eg `grc rust -- --bare
OPTIONS:
-h, --help Print help information
-l, --limit <limit> The number of repositories to query and list: default=30
-n, --new <new name> A custom name for renaming the repository
-o, --owner <owner> The owner account to search through
-O, --ownersearch <owner search> Search for an owner if the exact name isn't known and get
their repos
-p, --path <path> The full path to the parent folder to clone into
-V, --version Print version information
SUBCOMMANDS:
default-config Configure your defaults
USAGE:
grc default-config --username <username> --path <clone path>
OPTIONS:
-h, --help Print help information
-p, --path <clone path> The default path to clone repositories into when none is specified.
If this is blank and none is specified it will clone into the
current folder
-u, --username <username> The default username to search for when no other search parameters
are given
Install with cargo install git-repo-clone
or
Clone the repository and install using cargo install --path . --force