git - 致命:未知索引条目格式61740000 [英] git - fatal: Unknown index entry format 61740000

查看:2539
本文介绍了git - 致命:未知索引条目格式61740000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用 git status git checkout master git pull



我收到错误: -


fatal:未知索引条目格式61740000。

我试过重新初始化现有的Git存储库。但它并没有解决问题。



我是git的新手,刚刚做了第一个分支并进行了一些更改并尝试提交更改。 / p>

尝试在Google上搜索,但找不到代码正确的解决方案 61740000

编辑:删除整个本地存储库,然后再次从远程存储库克隆(git状态工作),创建一个分支(git状态工作),并对文件进行更改(git status error)。



请帮助。

解决方案

当您的索引损坏时,您通常可以删除它们或进行备份重置它们。

  rm -f .git / index 
git reset



或者您再次克隆回购。


When I'm trying use git status or git checkout master or git pull,

I'm getting an error :-

"fatal: Unknown index entry format 61740000".

I've tried to Reinitialize existing Git repository. But it did not fix the problem.

I'm new to git, and I have just made a first branch and make some changes and trying to commit the changes.

Tried searching on Google but can't find the right solution for the code 61740000.

Edit: Deleted the whole local repository and then again cloned from remote repository (git status worked), created a branch (git status worked) and made changes to files (git status error).

Please help.

解决方案

When your index is broken you can normally delete them or make a backup and reset them.

rm -f .git/index
git reset

or you clone the repo again.

这篇关于git - 致命:未知索引条目格式61740000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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