我遇到这个问题 2 天了,我一直在坚持。
<块引用> $ git clone --branch mybranch https://bitbucket.devops.com/my/pro/ject.git
Cloning into 'ject'...
remote: Counting objects: 38739, done.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
我做了我在 stackoverflow 中探索的所有选项,但没有一个对我有用,但是我的同事在他自己的分支和 PC 上做得很好
这是我的 .gitconfig 文件
[core]
autocrlf = true
packedGitLimit = 1g
packedGitWindowSize = 1g
compression = 0
[pack]
windowMemory = 1g
packSizeLimit = 2g
deltaCacheSize = 512m
threads = 1
window = 0
[http]
postbuffer = 9999999999
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
感谢阅读,我需要您的建议来修复此错误