Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luhc228/git-c
Git clone a repositry with a http url faster.
https://github.com/luhc228/git-c
Last synced: about 2 months ago
JSON representation
Git clone a repositry with a http url faster.
- Host: GitHub
- URL: https://github.com/luhc228/git-c
- Owner: luhc228
- Created: 2023-12-27T01:59:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-06T06:27:53.000Z (about 1 year ago)
- Last Synced: 2024-10-11T14:10:40.683Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-c
[![Crates.io][crates-badge]][crates-url]
[crates-badge]: https://img.shields.io/crates/v/gitc.svg
[crates-url]: https://crates.io/crates/gitcClone git repository with not only git url(e.g: `[email protected]:/.git`), but also http url(e.g: `https://github.com///tree/`). It's helpful to clone a repository of a special branch quickly.
## Usage
Supports http url:
```sh
gitc https://github.com//# run the command: git clone [email protected]:/.git
```Even with branch:
```sh
gitc https://github.com///tree/# run the command: git clone [email protected]:/.git -b
```Also supports ssh url:
```sh
gitc https://github.com//.git# run the command: git clone https://github.com//.git
gitc [email protected]:/.git
# run the command: git clone [email protected]:/.git
```## LICENSE
MIT