6 Star 148 Fork 23

killf / cgit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

cgit

cgit是一个github快速下载器,使用国内镜像,clone速度可达10M/s。

一、安装方法

目前,已提供了Ubuntu、Mac、Window的预编译程序,如果使用的是其他系统,可以采用源码编译安装。

linux下安装

sudo wget http://cgit.killf.info/cgit_linux_latest -O /usr/local/bin/cgit && sudo chmod 755 /usr/local/bin/cgit

mac下安装

sudo wget http://cgit.killf.info/cgit_mac_latest -O /usr/local/bin/cgit && sudo chmod 755 /usr/local/bin/cgit

arm下安装

sudo wget http://cgit.killf.info/cgit_arm_latest -O /usr/local/bin/cgit && sudo chmod 755 /usr/local/bin/cgit

window下安装

点击下载链接,将程序放到你喜欢的目录下,然后将该路径配置PATH变量下

编译安装

git clone https://github.com/killf/cgit.git && sudo ./cgit/install.sh

二、使用方法

cgit运行时与需要使用git,因此需要先安装git。 linux平台下GIT的默认地址为/usr/bin/git,window平台下GIT的默认地址为C:\\Program Files\\Git\\bin\\git.exe, 如果需要使用其他路径的git,可配置环境变量GIT,如:

export GIT=/usr/bin/git

也可以通过设置环境变量CGIT_MIRROR来修改默认的镜像地址,如:

export CGIT_MIRROR=https://hub.fastgit.org

cgit的使用方法git与一样,事实上内部使用的也是git,使用时只需将命令替换成cgit即可,如下:

cgit clone https://github.com/killf/cgit.git

三、下载速度

MIT License Copyright (c) 2020 killf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

cgit是一个github快速下载器,使用国内镜像,clone速度可达10M/s。 展开 收起
C++ 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/killf/cgit.git
git@gitee.com:killf/cgit.git
killf
cgit
cgit
master

搜索帮助