Git - “非单调索引” [英] Git - "non-monotonic index"

查看:954
本文介绍了Git - “非单调索引”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地电脑上克隆了一个git仓库。
在这个过程中,该命令会输出很多以下错误消息:

I'am cloning a git repository on my local pc. During this process the command outputs a lot of the following error messages:

error: non-monotonic index .git/objects/pack/._pack-*.idx

这个消息保持在pull或者branch-开关,例如,但一切似乎工作。本地存储库似乎没有损坏或类似的东西。

This messages stay on pull or on a branch-switch e.g, but everything seems to work. The local repository doesn't seem corrupted or something like that.

有关错误消息的任何想法?

Any ideas about the error-messages?

推荐答案

我喜欢这些只是由OSX创建的一堆._文件,git不理解它需要忽略它们。我有类似这样的文件的同样的问题。只是删除._ *似乎已经解决了它。

Looks to me like these are just a bunch of ._ files created by OSX and git doesn't understand it needs to ignore them. I had this same problem with tons of files like that. Just deleting ._* seems to have solved it.

这篇关于Git - “非单调索引”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆