git - 致命:未知索引条目格式61740000 [英] git - fatal: Unknown index entry format 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
orgit checkout master
orgit 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屋!