#git-clone #git-repository #git-branch #http #url #github #command-line-tool

app gitc

A command line tool to help you clone git repositories with http url or even with branch

5 releases

0.1.4 Jan 6, 2024
0.1.3 Jan 3, 2024
0.1.2 Jan 3, 2024
0.1.1 Jan 2, 2024
0.1.0 Jan 2, 2024

#786 in Network programming

Download history 18/week @ 2024-01-01 2/week @ 2024-02-26 110/week @ 2024-04-01

110 downloads per month

MIT license

8KB
145 lines

git-c

Crates.io

Clone git repository with not only git url(e.g: git@github.com:<group>/<project>.git), but also http url(e.g: https://github.com/<group>/<project>/tree/<branch>). It's helpful to clone a repository of a special branch quickly.

Usage

Supports http url:

gitc https://github.com/<group>/<project>

# run the command: git clone git@github.com:<group>/<project>.git

Even with branch:

gitc https://github.com/<group>/<project>/tree/<branch>

# run the command: git clone git@github.com:<group>/<project>.git -b <branch>

Also supports ssh url:

gitc https://github.com/<group>/<project>.git

# run the command: git clone https://github.com/<group>/<project>.git

gitc git@github.com:<group>/<project>.git

# run the command: git clone git@github.com:<group>/<project>.git

LICENSE

MIT

Dependencies

~2–12MB
~101K SLoC