git pull/commit时,提示 “bad index file sha1 signature fatal: index file corrupt”错误
来源:互联网 发布:gta5麦克捏脸数据 编辑:程序博客网 时间:2024/05/18 15:04
可参考http://blog.csdn.net/imlmy/article/details/10264699;
用git拉取或提交项目是失败,提示“bad index file sha1 signature fatal: index file corrupt”;
使用TorToiseGit拉取或提交项目时出现如下图错误
;
问题出处:
这是由于git的index文件出错。
解决办法:需要删除.git/index文件,然后在仓库目录下运行git reset,重新生成index文件。
其他:git reset还可以删除已经commit,但未push上去的信息。
其他:git reset还可以删除已经commit,但未push上去的信息。
- 顶
- 2
0 0
- git pull/commit时,提示 “bad index file sha1 signature fatal: index file corrupt”错误
- git “bad index file sha1 signature fatal: index file corrupt”错误
- gitlab “bad index file sha1 signature fatal: index file corrupt”错误
- GIT fix: stderr: error: bad signature fatal: index file corrupt
- git 出现stderr: error: bad signature fatal: index file corrupt
- error: bad index file sha1 signature fatal: index file corrupt解决方法
- bad index file sha1 signature fatal
- stderr: error: bad signature fatal: index file corrupt
- Git: Fix bad signature and index file corrupt error
- 使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法
- git commit时出现fatal: Unable to create ‘××××.git/index.lock': File exists.
- git pull失败提示fatal: Unable to create 'E:/job/tpaas-web/.git/index.lock': File exists.
- git fatal: index file smaller than expected
- Kafka重启报Corrupt index found,index file
- git 操作提示fatal: Unable to create '***/.git/index.lock': File exists.
- git 提交出现这个错误fatal: Unable to create 'project_path/.git/index.lock': File exists.
- git 提交出现这个错误fatal: Unable to create 'project_path/.git/index.lock': File exists. 解决方法
- Git – fatal: Unable to create ‘/.git/index.lock’: File exists错误解决办法
- Java中对小数进行精确的运算
- 【Scrapy爬虫系列1】爬虫的几大问题——抛砖引玉
- 插入排序
- NOIP2016普及组第四题魔法阵解说+水法
- js:判断浏览器的类型
- git pull/commit时,提示 “bad index file sha1 signature fatal: index file corrupt”错误
- STK Component:Evaluator pattern(计算器模式)
- leetcode(61).225. Implement Stack using Queues
- Kafka中gradle.properties源码
- 从内核文件系统看文件读写过程
- 4-1 Shortest Path [3]
- 学Java遇到的问题
- electron开发记录(一):安装nodejs并运行demo
- 【6】Struts2的复杂类型数据的封装