git-cloner / gitcache Goto Github PK
View Code? Open in Web Editor NEWWhen clone from github.com, build mirror cache to improve clone speed
Home Page: https://gitclone.com
License: GNU General Public License v3.0
When clone from github.com, build mirror cache to improve clone speed
Home Page: https://gitclone.com
License: GNU General Public License v3.0
When will push be supported
啥情况?服务器出问题了?
As written in README, new support branch (git clone -b branchname)
, I suppose we can specify branch when cloning.
But,
❯ git clone https://github.com/nvim-neo-tree/neo-tree.nvim -b v3.x
Cloning into 'neo-tree.nvim'...
remote: Enumerating objects: 6564, done.
remote: Counting objects: 100% (1782/1782), done.
remote: Compressing objects: 100% (491/491), done.
...
❯ git clone https://gitclone.com/github.com/nvim-neo-tree/neo-tree.nvim -b v3.x
Cloning into 'neo-tree.nvim'...
fatal: Remote branch v3.x not found in upstream origin
git config --global url."https://gitclone.com/github.com/".insteadOf https://github.com/
$ git clone --branch ros2 --recursive https://github.com/XXX
正克隆到 'XXX'...
fatal: 远程分支 ros2 在上游 origin 未发现
$ git submodule update
remote: 枚举对象中: 1160, 完成.
remote: 对象计数中: 100% (1160/1160), 完成.
remote: 压缩对象中: 100% (936/936), 完成.
remote: 总共 1160(差异 169),复用 1160(差异 169),包复用 0
接收对象中: 100% (1160/1160), 6.32 MiB | 298.00 KiB/s, 完成.
处理 delta 中: 100% (169/169), 完成.
error: Could not read 79aead2deafe0f9c5134422566c2f80e2db96613
fatal: Failed to traverse parents of commit 46f497a1ef058750f59277c88578f9f2c13ea670
error: https://gitclone.com/github.com/XXX 未发送所有必需的对象
无法在子模组路径 'XXX' 中获取,尝试直接获取 b448553725634aa83d25b356a7de12ba61647377:
error: 服务器不允许请求未公开的对象 b448553725634aa83d25b356a7de12ba61647377
获取了子模组路径 'XXX',但是它没有包含 b448553725634aa83d25b356a7de12ba61647377。直接获取该提交失败。
如题
Here is the error:
git clone --branch=mace --depth 1 https://gitclone.com/github.com/ACEsuit/lammps
Cloning into 'lammps'...
fatal: protocol error: expected sha/ref, got 'shallow ed03d04a70551a4ffbf9116e714eb51c466c63a5'
当然,多半是虚报
但是如果可以解决,就更好了
32位的,不报毒
今天因为要在一台新机器上 clone 我自己的 repo,很多次都是报错中断,无奈之下在网上搜索解决办法,搜到了 gitclone.com 这个网站,感觉非常棒,速度飞快。以前也听说过不少朋友抱怨 clone 我那些 repo 很困难,这下好了,我可以向他们推荐 gitclone.com 了。
你们的工作很有意义。
自己搭建了个gitcache给内网的git clone加速,git clone -b *** 下载带分支的仓库时报错:fatal: Remote branch **** not found in upstream origin。
Some of your js links are invalid, such as axios,which makes it impossible to search normally on the computer. I hope it can be restored soon.
git clone https://[email protected]/AIM-Linux/RISC-RK3568-Linux/_git/u-boot
类似这种url会失败
拉取了几个lua的依赖,例如https://github.com/tomasguisasola/luaexpat.git;为什么只有最新的commitId,git log中只有一个最新的commitId,其余的都没有,拉取 https://gitclone.com/github.com/nginx/nginx.git nginx等仓库commitId又没啥问题,是什么原因?
自己搭建了个gitcache给内网用户缓存加速,现发现github上代码更新了,但是缓存里文件还是旧的,已经持续24小时了
默认使用gitclone.com进行加速时,只会clone主分支,这样其实很不方便,切换每个分支是都需要手动操作,可否像ghproxy.com网站那样,默认加速时不带分支参数即可clone所有分支到本地,谢谢。
建议搞一个终身会员.非常喜欢这个gitclone.com这个网站,希望能推出一个终身会员或者年会员
When trying to clone any repository, always throw away this error.
warning: You appear to have cloned an empty repository.
The repository is cloned in the local folder, but not in /var/gitcache
If I try to clone into another folder, nothing is cloned, the new folder is created, but it is empty and the same error
warning: You appear to have cloned an empty repository.
LOG: 2020/11/04 16:50:49 gitcache.go:400: git clone from remote : https://github.com/tendermint/tendermint.git /var/gitcache/github.com/tendermint/tendermint.git
LOG: 2020/11/04 16:50:49 dbservice.go:93: Stats : redirect
LOG: 2020/11/04 16:50:59 gitcache.go:160: valid local cache! .git path not exists
LOG: 2020/11/04 16:50:59 gitcache.go:61: execute local git command : git,[clone --depth=1 --mirror --progress https://github.com/tendermint/tendermint.git /var/gitcache/github.com/tendermint/tendermint.git]
Cloning into bare repository '/var/gitcache/github.com/tendermint/tendermint.git'...
LOG: 2020/11/04 16:50:59 gitcache.go:346: client send git request: 172.26.27.130:45480 GET /github.com/tendermint/tendermint.git/info/refs HTTP/1.1
LOG: 2020/11/04 16:50:59 gitcache.go:348: git params: {Repository:github.com/tendermint/tendermint.git Gitservice:git-upload-pack IsInfoReq:true}
LOG: 2020/11/04 16:50:59 gitcache.go:350: client send git request: GET true valid ok
LOG: 2020/11/04 16:50:59 gitcache.go:61: execute local git command : git,[-C /var/gitcache/github.com/tendermint/tendermint.git remote]
origin
LOG: 2020/11/04 16:50:59 gitcache.go:186: execute local git command : git-upload-pack,[--stateless-rpc --advertise-refs /var/gitcache/github.com/tendermint/tendermint.git]
warning: You appear to have cloned an empty repository.
LOG: 2020/11/04 16:51:09 gitrepo.go:192: broadcast git clone command to chain : https://github.com/tendermint/tendermint.git
希望支持git clone --depth 1参数
看了下官网24小时数据,有很多海外用户,按说github本身有全球cdn,只是大陆"政府网"导致有镜像需求,海外直连很快的,难道gitcache是分布式架构,又包了一层镜像缓存的cdn?
可能是我认知水平吧,没有想明白。
使用
git config --global url."https://gitclone.com/".insteadOf https://
这个方法
安装vim plugin的时候回报503错误
是不是并发太高了的原因?
无法克隆项目,ycm和coc之类都不行
$ git version
git version 2.33.1
fatal: unable to access 'https://gitclone.com/github.com/neoclide/coc.nvim/': The requested URL returned error: 403
As described in title.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.