Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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: `[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