Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrmoulton/git-repo-clone
Make cloning git repositories slightly more convenient with searching and fuzzy finding
https://github.com/jrmoulton/git-repo-clone
clone git rust
Last synced: about 2 months ago
JSON representation
Make cloning git repositories slightly more convenient with searching and fuzzy finding
- Host: GitHub
- URL: https://github.com/jrmoulton/git-repo-clone
- Owner: jrmoulton
- License: mit
- Created: 2021-11-06T01:53:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T23:21:31.000Z (over 2 years ago)
- Last Synced: 2024-10-21T01:36:46.537Z (3 months ago)
- Topics: clone, git, rust
- Language: Rust
- Homepage:
- Size: 3.41 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# git-repo-clone (grc)
The correct way to clone a git repository
## What is grc?
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.![grc-gif](images/grc-gif-0.2.0.gif)
(Note: The gif is out of date. The way to pass git flags is now by prefacing them with `-g` as shown in the help menu)## Usage
Git must be installed. Use `grc --help`
```
USAGE:
grc [OPTIONS] [repository] [SUBCOMMAND]ARGS:
The repository name to search forOPTIONS:
-g, --git ... All additional git args. After all other options pass `-g`
and then the git args. Eg `grc rust -g --bare`
-h, --help Print help information
-l, --limit The number of repositories to query and list: default=30
-n, --new A custom name for renaming the repository
-o, --owner The owner account to search through
-O, --ownersearch Search for an owner if the exact name isn't known and get
their repos
-p, --path The full path to the parent folder to clone into
-V, --version Print version informationSUBCOMMANDS:
default-config Configure your defaults
```### Configuring defaults
```
USAGE:
grc default-config --username --pathOPTIONS:
-h, --help Print help information
-p, --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 The default username to search for when no other search parameters
are given
```## Installation
### Cargo
Install with `cargo install git-repo-clone` or
### From source
Clone the repository and install using ```cargo install --path . --force```