[英]Git Clone Failed
Problem问题
I am trying to do the clone from bitbucket
.我正在尝试从
bitbucket
进行克隆。 It is failing.它失败了。
Other stackoverflow posts其他stackoverflow帖子
I have gone through other stackoverflow posts but could not succeed.我已经浏览了其他 stackoverflow 帖子,但未能成功。 Specifically
具体来说
shallow/unshallow
has not worked. shallow/unshallow
不浅的没有奏效。PostBuffer
increase to 1 gb
has not worked PostBuffer
增加到1 gb
无效core.compression
is already 0
means disabled but it did not work core.compression
已经为0
表示禁用但它不起作用Clone using cmd使用 cmd 克隆
I have tried to go --depth 1
with clone
and then --unshallow
but it did not work.我试过 go
--depth 1
与clone
然后--unshallow
但它没有用。
It gave an error like below when tried git pull --all
尝试
git pull --all
时出现如下错误
Clone using Eclipse(Spring Toolsuite 3)使用 Eclipse 克隆(Spring 工具套件 3)
Then i tried to do the clone using Eclipse(Spring IDE) using ssh
but it still failed with the following error然后我尝试使用
ssh
使用 Eclipse(Spring IDE)进行克隆,但它仍然失败并出现以下错误
This seems like is because of some large object in history.这似乎是因为历史上一些大的 object。
Questions问题
git
client I am using or the Bitbucket
the host of the repository?git
客户端还是存储库主机Bitbucket
的限制?git
client to clone/pull the repositorygit
客户端来克隆/拉取存储库More Info更多信息
Git Configurations using git config --list
Git 配置使用
git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=[CERT FILE]
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
user.email=[EMAIL]
user.name=[NAME]
winupdater.recentlyseenversion=2.23.0.windows.1
core.compression=0
http.postbuffer=1048576000
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=[URL]
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
This repository is not using LFS
此存储库未使用
LFS
A suggestion I have come across is to use an older version
of Eclipse that can succeed in cloning.我遇到的一个建议是使用可以成功克隆的
older version
Eclipse。 Why is that so?为什么呢?
The error details in eclipse(sts) are as below eclipse(sts)中的错误详情如下
Spring Tool Suite 4.4.0 has the same error as above, the detail of the env is as below Spring Tool Suite 4.4.0出现与上述相同的错误,env 的详细信息如下
Java is 64 bit Java 为 64 位
Some findings/conclusions一些发现/结论
STS
is a limitation of the JGit
that is used in it as the Git
client. STS
的错误是作为Git
客户端使用的JGit
的限制。 It has a limitation of size as far as I could understandThat error does not occur if i use git from cmd
or even if use another client sourcetree
.如果我从
cmd
或者即使使用另一个客户端sourcetree
,也不会发生该错误。 In this case the error is the other one which says在这种情况下,错误是另一个说
fatal: pack has bad object at offset 90599582: inflate returned 1
fatal: index-pack failed
The eclipse oxygen is able to clone successfully. eclipse 氧气能够成功克隆。 But it does not make sense what's going on behind the scenes.
但是幕后发生的事情是没有意义的。
This is interesting problem (I had the some problem cloning Linux), there are several solutions all of with can be found here: https://www.atlassian.com/git/tutorials/big-repositories这是一个有趣的问题(我在克隆 Linux 时遇到了一些问题),在这里可以找到几种解决方案: https://www.atlassian.com/git/tutorials/big-repositories
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.