我已经配置了ssh密钥,但仍然无法成功git克隆。错误信息是:
git clone git@gitlab.alibaba-inc.com:alimail-frontend/ragusa.git
Cloning into 'ragusa'...
remote: Counting objects: 108885, done.
Corrupted MAC on input. (76220/108885), 19.05 MiB | 7.62 MiB/s
ssh_dispatch_run_fatal: Connection to 100.67.155.102 port 22: message authentication code incorrect
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
我不知道如何解决它。是不是git配置有问题?
因为无法克隆git repo而遇到了问题.它开始运行然后取消一半.我当前的git repo大小是53.7 MB Git版本在服务器和我的遥控器上是1.7.12.4.
错误如下:
MacBook-Pro:htdocs macbook$ git clone myrepo@mysite.com:~/opt/git/myrepo.git
Cloning into 'myrepo'...
zcardepo@zcardepot.com's password:
remote: Counting objects: 8888, done.
remote: Compressing objects: 100% (7185/7185), done.
Write failed: Broken pipe267/8888), 1.03 MiB | 1001.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
我创建了一个新的新回购,克隆就好了.一旦我将我的站点文件添加到它并将它们推送到远程.我再也无法从中克隆了.但我可以从中汲取它.
我添加了这个没有运气:
[core]
compression = -1
[pack]
windowMemory = 10m
packSizeLimit = 20m
Run Code Online (Sandbox Code Playgroud)
我试着将这两者都提升到更高的价值.没运气
我也尝试在远程仓库上运行git gc --aggressive和git gc --prune.
我已经看到了git clone error 的答案,其中建议不要克隆整个存储库,而是仅克隆最新的提交,然后使用 unshallow 来获取其余的提交。
考虑以下两个命令
1.
git clone <url> --depth 1
git fetch --unshallow
Run Code Online (Sandbox Code Playgroud)
和
2.
git clone <url>
Run Code Online (Sandbox Code Playgroud)
两者克隆的最终输出是否相同?如果是这样,对于一个非常大的存储库,第二个命令的运行速度为何比第一个命令快得多?
浅层克隆是否还有其他一些不做的事情,或者有一些缺点,特别是在使用大型存储库时?
昨天我安装了一个新的Git Windows Server 2.6.4,可以在Mac git客户端(git协议)上正常工作
今天,我在努力使第二个客户端(Windows 7)正常工作。在尝试使其运行的过程中,我已将Windows服务器和客户端都升级到了最近发布的git 2.7.0
我尝试禁用压缩...我尝试了无线和有线网络(Windows客户端和服务器位于同一张桌子上)。我在客户端上禁用了AV。我已尝试按照此处的建议调整内存设置
这是客户端输出:
bash> git clone git://server.fqdn/repo.git 克隆到“回购”中... 远程:08:56:10.972997 git.c:348跟踪:内置:git'pack-objects''--revs''--thin''--stdout''--progress''--delta-base -偏移” 远程:计数对象:76,已完成。 远程:压缩对象:100%(38/38),已完成。 接收物体:100%(76/76),8.31 KiB | 0字节/秒,完成。 致命:读取错误:参数无效 致命:早期EOF 致命:索引包失败 重击>
这是服务器输出:
bash> ./gitd.bat D:\ tools \ gitd>设置GIT_TRACE = 1 D:\ tools \ gitd> D:\ tools \ Git \ bin \ git.exe守护程序--reuseaddr --verbose --base-path = D:\ git --export-all --enable = receive-pack 08:59:49.023778 git.c:561跟踪:exec:'git-daemon''--reuseaddr''--verbose''--base-path = D:\ git''--export-all''- -enable =接收包装” 08:59:49.023778 run-command.c:343跟踪:run_command:'git-daemon''--reuseaddr''--verbose''--base-path = D:\ git''--export-all' '--enable =接收包装' [7376]准备隆隆作响 09:00:03.056268 run-command.c:343跟踪:run_command:'D:\ tools \ Git …