git - 致命的 : fsync error on git/repo/path

标签 git github bitbucket

我一整天都在努力解决这个问题: 当我尝试在空目录中 pull 克隆 存在存储库时,出现错误:

$ git clone https://bitbucket.org/path_to_repo/aroma
Cloning into 'aroma'...
remote: Counting objects: 1335, done.
remote: Compressing objects: 100% (1174/1174), done.
remote: Total 1335 (delta 618), rReecused 551 (deltea 72)
Receiving objects: 100% (1335/1335), 43.16 MiB | 3.78 MiB/s, done.
Resolving deltas: 100% (618/618), done.
fatal: fsync error on 'H:/Project/testrep/aroma/.git/objects/pack/tmp_pack_xqHCKb': Bad file descriptor
fatal: index-pack failed

我尝试在配置中设置 pack.windowMemory 大小和 pack.packSizeLimit 等等。同样的错误;[ 在我克隆存储库之前。但是出了点问题

最佳答案

检查问题是否仍然存在:

根据驱动器 H:\ 的性质,由于上述性质,您可能无法访问/更新文件。

So other repos locate neighbor and it repos very good pull and push.

如果其他存储库正在从 H: 运行(意味着您可以从 H: 上的那些存储库克隆/推送/pull ),请尝试将错误的存储库复制(简单复制)到另一个文件夹,然后尝试从另一个文件夹中克隆它文件夹。如果仍然失败,则说明其中的某些内容已损坏:是时候应用 git fsck 进行检查。

关于git - 致命的 : fsync error on git/repo/path,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40828072/

相关文章:

git - 在窗口 git bash 中运行 shell 时找不到 sed 命令

ios - Xcode 6.2 不会加载远程 git repos

json - 从 Bitbucket 中检索文本文件内容

git - 将 git-lfs 文件从 bitbucket 移动到 GitLab

git - 由于吊销服务器离线,吊销功能无法检查吊销

git 初始化远程仓库

git - 提交和推送时git名称是如何确定的

git - 删除 github 上意外提交的大量文件

Git push origin 对 * 的权限被拒绝致命 : Could not read from remote repository

git - channel 未打开 Teamcity (git) 自动 merge 时出错