https://github.com/luhc228/git-c
Git clone a repositry with a http url faster.
https://github.com/luhc228/git-c
Last synced: 5 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T06:27:53.000Z (almost 2 years ago)
- Last Synced: 2025-03-01T08:15:19.787Z (10 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/gitc
Clone git repository with not only git url(e.g: `git@github.com:/.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 git@github.com:/.git
```
Even with branch:
```sh
gitc https://github.com///tree/
# run the command: git clone git@github.com:/.git -b
```
Also supports ssh url:
```sh
gitc https://github.com//.git
# run the command: git clone https://github.com//.git
gitc git@github.com:/.git
# run the command: git clone git@github.com:/.git
```
## LICENSE
MIT